on 04-26-2017 12:05 PM
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?
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.