Discussion
2
Replies
800
Views
Posted: March 23, 2016
Last activity: June 25, 2016
Closed
How to create rules based on JSON Content
Hello
How to create rules based on JSON Content,like rules generated by Connect-REST Wizard if we give sampleJSONResponse. In Connector Wizard, rules are generated by generateRulesFromMetadata() function in serviceutils but i need to create only DataModel rules(Paages/list/singlevalue properties).Can someone please tell how this function works if we give other pyGenerationPurpose or is there someother way to create rules.
You want to use a sample JSON response but only want to create a Data Model, not creating the REST Connector and optional response transform Data Page?
Why not delete the rules you do not want?