Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

get-list-item-percentage not working

Avatar

Not applicable

The command get-list-item-percentage seems not to work. Checking an attachment list with this command answers the following exception even if notes are present:

org.jaxen.FunctionCallException: The get-list-item function found the following input parameter validation errors: -- The property name specified in the third parameter does not exist in List objects.

I am working with LiveCycle ES 2.5.

0 Replies

Avatar

Level 10

The third parameter is useful when you search for a text against a property of the list items.

For example, if each item in the list (say User object) containing a property named 'role', then you can search the percentage of users who belongs to manager role.

Conversly, if the list items are simple types such a List<String>, you cannot search a value against any property name. This will cause an error. However you can directly search for it's value and find the percentage.

Adobe Documentation explaining this function usage:

http://help.adobe.com/en_US/livecycle/9.0/workbenchHelp/help.html?topic=000097&topic=002025

Nith