on 04-04-2017 2:06 PM
Hi there!
I've created a custom BO that contains a TextCollection node and, when I add it to the screen, it's possible to use it as a formatted text field. It works fine.
Internally, I know that this field maintains two values, a "Text" value and a "FormattedText" value (with html tags).
When I create an odata service for this BO, it's possible to get the "Text" value (without formatting) but I cannot get the "Formatted" value.
Is it a limitation? Am I forgetting anything?
Thanks in advance.
Alexandre.
Hi Jayant.
The odata service creation is exactly the same, but a new node can be added for the text collection. This new collection will have an url in the response:
"MyTextCollectionField":{
"__deferred":{
"uri":"https://myXXXXX.crm.ondemand.com/sap/c4c/odata/cust/v1/MyCustomObject/MyCustomObjectRootCollection('...MyTextCollectionField"
}
If you request this then you'll be able to get the Text property.
Best regards.
Alexandre.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Alexandre,
I am also trying to replicate similar scenario but I am not able to use even text field in the odata. Can you please guide me through to how to create odata for a textcollection?
Regards,
Jay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.