Author Message
Rulo
Joined: Feb 2, 2015
Messages: 7
Offline
How can I set persitToEDM=true using ContextStore node?
Any time I create a contexts sith ContextStore nedo, persistToEDM value is false.

Thanks in advance

Best regards
porterk
Joined: Jul 20, 2015
Messages: 19
Offline
Hi Rulo,

The key/value to enable EDM persistance is:
“persistToEDM”:”true”


Please ensure that you are passing this key/value as a top level key in JSON format to the 'csDataInput' Input Mapping of the Upsert Task.

Please see this sample workflow for more information on how to correctly pass JSON input to the 'csDataInput' Input Mapping:
https://www.devconnectprogram.com/fileMedia/download/e137e3f4-3c60-4916-9e55-78b885002758

Just to avoid confusion, please note that the workflow above demonstrates how to create a context using the 'Add Context' operation however your query is related to using the 'Upsert Context' operation. One of the differences between these operations is that for the 'Create Context' operation the contextId is set in 'csDataInput' but for 'Upsert Context' the contextId is passed to 'csIdInput'.

More detail about ContextStoreTasks Type (ED) Operations, including input and output mapping, is available in the Context Store Snap-in Developer Guide 3.6.0.0:
https://www.devconnectprogram.com/fileMedia/download/8393a23a-243f-4b61-aee2-b774240d3b06

Regards,
Kezzia
Go to:   
Mobile view