[progress Communities] [progress Openedge Abl] Forum Post: Re: How Do Hierarchy...

  • Thread starter Thread starter Shiva Duriseati
  • Start date Start date
Status
Not open for further replies.
S

Shiva Duriseati

Guest
Hi Romain, The API rbv_api.getRelatedIds("relname", employeeId); returns parent ID which is always a single record. Alliterative way is to use rbv_api.getFieldValue which returns array of record Id's associated with parent. Example: var childIds=rbv_api.getFieldValue("ObjectName", empID, "collaborator"); for(var i=0;i<childIds.length;i++){ rbv_api.println(childIds); } Regards, Shiva

Continue reading...
 
Status
Not open for further replies.
Back
Top