I'm using "updatecdt" to update a value in the CDT as follows,

Certified Lead Developer
I'm using "updatecdt" to update a value in the CDT as follows,

updatecdt(ac!test,{rndTest2:{rndTest1:{id:333}}})

In this, I need to construct dictionary for second parameter dynamically. I have only field names like {"rndTest2","rndTest1","id"} and value is 333. So I managed it to construct with text type. I tried to pass as a text type then it is throwing an error like "Invalid dictionary". So How can we cast text to dictionary type or any other possible way to pass 2nd parameter. Please suggest me.

Thanks.

OriginalPostID-169098

OriginalPostID-169098

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data