Skip to main content
Question

Getting Custom Field Value with AssystREST via LUA Script

  • May 1, 2024
  • 1 reply
  • 124 views

Forum|alt.badge.img+7

Hi,

I’m struggling to find how to get a custom field value with our LUA scripts.

 

Normally - to get a value we do something like this:

ASSYSTREST:get("Event",EVENT_ID, "richRemarks.content" )

 

However, how do a specify the shortcode of a custom field value I want to pull?

I tried something like this, but it didn’t work:

 

ASSYSTREST:get("Event", EVENT_ID,{customFields={customFieldShortCode="NEW AUTO PAGE OUT"}})

 

Thank you.

 

Martin

1 reply

Forum|alt.badge.img+4
  • Do Gooder (Employee)
  • 9 replies
  • June 9, 2024

Hello Martin,

What you are trying to do is not currently possible however it is a good suggestion for an improvement.

You can log your suggestion in the ideas area below and this will allow the customer community to see the suggestion and comment/vote on it.
https://community.ifs.com/ideas

Before saving your idea, enter "assyst" in both the Product Area and Tags fields, to ensure that your idea is registered under the IFS assyst category.

Kind Regards,

Gary