Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to select a composite key as Primary Key while creating VBCS Table

edited Dec 11, 2018 12:08AM in Visual Builder 9 comments

Summary

Need to select more than one attribute as primary key (composite key)

Content

Hi,

We developed an ADF VO which has 3 columns makes up a PK (composite key). This VO is entity based and all 3 attributes are selected as "Primary Key" at entity. Now, we enabled REST services on this VO. 

When we execute REST API we are able to see all records and looks like ADF BC REST Module generates a unique identifier for each row in this VO. Using which we can filter on this composite key. Attached image shows the composite key at VO level. Also attached the REST API response which shows the unique identifier.

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!