You need to sign in to do that
Don't have an account?
Shruti Nigam
How to set user id in json ?
Hi ,
I need help in json.
When i try to create record using json i am getting error in $User.Id
I want to dynmically set the Assigned_To__c i.e whoever runs this json Assigned_To__c will contain there user id.
Thanks in advance
I need help in json.
When i try to create record using json i am getting error in $User.Id
[ { "attributes": { "type": "Activity_Template__c" }, "Name": "Expense test", "Assigned_To__c": $User.Id, } ]
I want to dynmically set the Assigned_To__c i.e whoever runs this json Assigned_To__c will contain there user id.
Thanks in advance
Did you try this:- Thanks,
Rishabh
However if this is sting then you have to tweak this a bit. Try following -