cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to Embed EC without inheriting TI access rights

uskalviskis
Participant
0 Kudos

Hello everybody,

In past I been trying to implement sort of runtime data extraction for Customer TI. Tenant users are not allowed to modify customer data in C4C, but there is external interface which is pushing some list items on request, which agent is allowed to modify and sendback to backend.

For that I have create a temp custom object, which conists only from transient fields. ANd I tried to build an EC which is not Work Protect Relevant (neithere on EC level, nor data model fields, list, nor actions (BOOperation Create or bound actions to invoke APIs).

As soon Create operation is triggered on inport initialization, customer record is going into edit mode, allthough it should only retrieve data for the backend.

Is there any option that any changes occuring in EC doesn't affect the object and it's access rights?

Accepted Solutions (0)

Answers (1)

Answers (1)

stefankrauth
Active Participant
0 Kudos

Hi Uldis,

I'm not sure if it is possible to enforce the EC to stay read only when the instance is created. Do you think you can create an empty instance (for example in the BeforeSave event) of the hosting object? Then you can rely on reading the object from the EC (which is also faster...)

Other than that, some operations have work protect relavant flags. As well as queries.

Best Regards,
Stefan

uskalviskis
Participant
0 Kudos

Hi Stefan,

That was another option what I tried to look into. There is created a blank instance with key in this host object. But looks like if object is set as read only, even read operation is stoped in the middle due this restriction.

Operation is not executed and TI goes into edit mode.

Not sure is there some conflict between work protect settings and actual access rights.

Regards,
Uldis