Forums

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

How to configure Webservice in confiform field and get value

varatha December 20, 2024

 

How to configure Webservice in confiform field and get value

 

Need to pass the iCode field value to the web service URL and get the result.

 

Kindly help

1 answer

0 votes
Alex Medved _ConfiForms_
Community Champion
December 20, 2024
varatha December 24, 2024

Hi Alex,

Thanks for the reply.

This URL was useful.

But the requirement is User need to enter emp code (for ex i34533) in the form. pass this code into webservice and get the emp name (for ex:- Stefano) in another field

Kindly help 

 

 

varatha December 24, 2024

Hi Alex,

As per your URL, I could not find link for "Lookup and set WS value"

Alex Medved _ConfiForms_
Community Champion
December 24, 2024

What do you mean!? The link is DIRECTLY showing your the type of the ConfiForms Field Definition Rule to be used

Screenshot 2024-12-24 at 14.28.37.png

Alex

varatha December 27, 2024

Hi Alex,

 

I would like to know the step to step configuration for enter the "id" and get value in another field  from Webservice.

what is the configuratoin for confiform rule definition and IFTTT macro config..

Kindly help

Alex Medved _ConfiForms_
Community Champion
December 27, 2024

Dont know anything about the web-service you are trying to use, but here is a video example on how this can be used

 

varatha December 27, 2024

Hi Alex,

Thank You. 

 

Yes admin already configured in confiform configuration. 

But we are using value to set as confiform field 

ex:- IcodeOwner=[entry.iCode]

 

Please let us know do we need to configure IFTTT integration rule? if Yes please share configuration video.

 

Thank You.

Alex Medved _ConfiForms_
Community Champion
December 27, 2024

Those are simple “text” and “textarea” fields. Nothing else

varatha December 27, 2024

Thanks i followed your steps

 

but its not working for me i am using service url is 

https://dom.travel.com/costcenter/[entry.fieldname]

Is this URL is correct?

varatha December 30, 2024

Hi Alex,

 

Developer given the absolute path only

 

https://dom.travel.com/costcenter/ 

and configured the same in confiform webservice setting. How to convert absolute into relative url?

Please suggest

Alex Medved _ConfiForms_
Community Champion
December 30, 2024

You need to configure a web-service connection configuration in the ConfiForms configuration (admin only) and then use it in the lookup rule

varatha December 30, 2024

Yes admin already configured in confiform configuration. 

But we are using value to set as confiform field 

ex:- IcodeOwner=[entry.iCode]

 

Please let us know do we need to configure IFTTT integration rule? if Yes please share configuration video.

 

Thank You.

 

Alex Medved _ConfiForms_
Community Champion
December 30, 2024

Service URL you define in the macro configuration is concatenated together with the path configured for the web-service connection in the configuration

Like varatha likes this
varatha January 2, 2025

API CODE.png

where do we see the webservice records? 

varatha January 3, 2025

Hi Alex,

 

Will it possible to see the logs of form execution?

Alex Medved _ConfiForms_
Community Champion
January 3, 2025

On server/dc version of ConfiForms the logs are written into standard Confluence logs

Also it is possible to see IFTTT rules execution log, as well as enabling the same for the ConfiForms Registrations Control macro to see UI rules invocation log

varatha January 5, 2025

Hi Alex,

I would like to know the  configuratoin for IFTTT Integration macro for webservice. Please share the video .

Thank You

Alex Medved _ConfiForms_
Community Champion
January 5, 2025

See examples in ConfiForms documentation

varatha January 15, 2025

Hi Alex,

Thanks for the sharing the doucmentation

Here scenarion is Using GET method to pull value from webserivce. I followed your video. but i could not get the value.

Please guide us what was done wrong.

Rule-ws.png

Alex Medved _ConfiForms_
Community Champion
January 15, 2025

Because service url expects you to have ONLY the service URL (relative URL to the connection you have configured), not an absolute URL

varatha January 15, 2025

GET3.pngGET2.pngGet.png

Alex Medved _ConfiForms_
Community Champion
January 15, 2025

Look at the documentation and examples we have on our wiki and here around this community - conditions are written as filters - https://wiki.vertuna.com/display/CONFIFORMS/ConfiForms+Filters and when you do an web-service connection calls you specify the service URL as a parameter which is RELEVANT to the web-service connection configured in ConfiForms configuration

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events