Skip to main content
Nintex Community Menu Bar
Question

How to get field Id except for field API

  • July 11, 2024
  • 1 reply
  • 6 views

Forum|alt.badge.img+3

I have requirement to pass the value form one lookup field to another text area field in a sameobject with comma seperate.

I am trying  by using javascript but I am unable to get Id of field(unique Id),even I am using field API name so it’s not working.Is any one have Idea?

1 reply

Forum|alt.badge.img+3

Hi Vicky!

Can you post what line of JS you are using on your Skuid page?  

You should be able to get the field value with something similar to this:

var yourModel = skuid.model.getModel('MODEL_NAME');<br>var yourModelRow = yourModel.getFirstRow(); // If you're referencing the first row, otherwise you can use .getRowById(ROW_ID)<br>var fieldValue = yourModel.getFieldValue(yourModelRow, 'FIELD_API_NAME');

For more details about the skuid.model API’s, you can reference our documentation here:
https://docs.skuid.com/v10.0.4/en/skuid/api/skuid_model_model.html

Good luck!
Thanks,
Christine