Forum Post: RE: How to link records to LDF groups?

  • Thread starter Thread starter matman
  • Start date Start date
Status
Not open for further replies.
M

matman

Guest
Ah okay. For anyone who might benefit from this: I have implemented this the following way: 1. Enable LDF permissions as described above. 2. Create a relationship (in my case 1-1) with the Group object. 3. Create an Object Script trigger that runs on "After Create" and "After Update". 4. Add this code: rbv_api.setFieldValue("order41", parseInt("{!id}"), "locationId", parseInt("{!R114930181.locationId}")) rbv_api.setFieldValue("order41", parseInt("{!id}"), "departmentId", parseInt("{!R114930181.departmentId}")) rbv_api.setFieldValue("order41", parseInt("{!id}"), "functionId", parseInt("{!R114930181.functionId}")) Change the fields corresponding to your names, integration codes etc. This code sets the LDF fields to the LDF fields of the group you just selected. Thanks for your support anyway Chandra!

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