Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

[confiform-usage] "Look up and set WS value" -> Field Definition Rule action and "Dynamic Dropdown"

Rohit Agarwal June 28, 2018

I am using the following:

Confiform form Definition

    Confiform field definition: "f1" (type: readonly)

    Confiform field definition: "f3" (type: Dynamic Dropdown (auto-suggest) - webservice)

    Confiform field Definition Rule: for "f3" (Lookup and set WS value); values to set: "f1=[entry.<customer-field-name>]"

 

Background:

all the webservices return JSON object.

 

From where I stand-

when I register an entry to the form. The dynamic drop down works flawlessly. When it comes to running the Definition Rule for 'f3', it happens to.


Problem occurrence:

in the step where the values are being set from the returned JSON object.

"f1=[entry.<customer-field-name>]"

the issue appears when the 'custom-field-name' contains '_ (underscore)'

 

 

I have tried reading different fields from the returned JSON object from the API called with Definition rules. The values for 'custom-field-name' as only alphabets works like a charm. when the field name contains '_ (underscore)' the processing fails somehow and no values are assigned to 'f1'

 

Thanks a ton in advance for any help I can get. if this method works, I will have a significant improvement to the performance of the form.

 

NOTE: Due to confidentiality I cannot share the form definitions or any screenshots or form source code. Therefore, I tried to describe this to the best of my abilities. In case, this is not clear, kindly get back to me seeking clarification. If you know how to perform a WS look up with field definitions and if you know how definition rules work - this should be easy for you to comprehend.

1 answer

0 votes
Rohit Agarwal June 28, 2018

@Alex Medved _ConfiForms_- tagging you to reach the answer quicker. Sorry, if it has reached you in the middle of something important.

Alex Medved _ConfiForms_
Community Champion
June 28, 2018

@Rohit Agarwal

 

I need to see how the JSON is structured. Only knowing the structure is possible to advise anything

Rohit Agarwal June 28, 2018

Is there a way I can reach you outside the community?

Alex Medved _ConfiForms_
Community Champion
June 28, 2018

@Rohit Agarwal

Yes, of course. Please use the Support Request Form on our site.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events