Adobe Workfront - Customer Form External Lookup Issue | Adobe Higher Education
Skip to main content
Ken_Qrious
Level 4
September 12, 2024
Risolto

Adobe Workfront - Customer Form External Lookup Issue

  • September 12, 2024
  • 1 risposta
  • 1322 visualizzazioni

I have created a custom form with an external lookup to a fusion api.  This works fine with hard coded Channel parameter, but I need to pass a radio button choice as a parameter and am unable to get this to work (via preview).

 

The radio button has a label and name of "Channel" and has three choices "SMS", Email" and "Push"  

 

The external look up works fine with the url is as follows, channel value is received by the fusion api as SMS (note fusion id and client token replaced with dummy values)

https://hook.app.workfrontfusion.com/xxxxxxxxxxxxxxxxxxxxxxxxxxxssssss?clientToken=999999&channel=SMS

 

The external look up fails when SMS is selected via the radio button and the url is as follows, channel value is received by the fusion api as blanks 

https://hook.app.workfrontfusion.com/xxxxxxxxxxxxxxxxxxxxxxxxxxxssssss?clientToken=999999&channel={Channel}

 

Questo argomento è stato chiuso alle risposte.
Migliore risposta di lgaertner

Hi Ken,

 

As your "Channel" parameter is a custom field, you should prefix it with DE: in your URL, so it should look like this:
https://hook.app.workfrontfusion.com/xxxxxxxxxxxxxxxxxxxxxxxxxxxssssss?clientToken=999999&channel={DE:Channel}

 

Regards

Lars

1 risposta

lgaertner
lgaertnerRisposta
Level 9
September 13, 2024

Hi Ken,

 

As your "Channel" parameter is a custom field, you should prefix it with DE: in your URL, so it should look like this:
https://hook.app.workfrontfusion.com/xxxxxxxxxxxxxxxxxxxxxxxxxxxssssss?clientToken=999999&channel={DE:Channel}

 

Regards

Lars

Ken_Qrious
Level 4
September 17, 2024

@lgaertner Thanks for the reply.  I've tried changing the url from https://hook.app.workfrontfusion.com/xxxxxxxxxxxxxxxxxxxxxxxxxxxssssss?clientToken=999999&channel={Channel} to https://hook.app.workfrontfusion.com/xxxxxxxxxxxxxxxxxxxxxxxxxxxssssss?clientToken=999999&channel={DE:Channel} but it's still the same result.  When I look at the fusion api the channel value is empty.  I did wonder if the radio button was the issue but even using a standard text field and entering a value gives the same result.  Is there something peculiar with how the preview works?  

lgaertner
Level 9
September 18, 2024

Hi Ken,

 

I would try to "debug" this in really small steps:

- Chose an example object (project, task, ...) the custom form containing the custom field is attached to, where a value is set. 
- add a temporary custom field of the type "calculated field" and just enter

 

 

{DE:Channel}

 

 

to see the corresponding value.

When you are in the Calculation Editor, you can paste the object id into the field under Preview on an existing object.

 

You could also add another custom calculated field containing your whole URL like this:

 

 

CONCAT("https://hook.app.workfrontfusion.com/xxxxxxxxxxxxxxxxxxxxxxxxxxxssssss?clientToken=999999&channel=",{DE:Channel})

 

 

 

 

Open your example object and switch the radio button to see,

- if the url changes

and

- if the url makes sense (test it by copy & paste into address field of a new browser tab)

 

You could also send some screenshots of your setup. Perhaps this will help us to assist you.

 

 

Regards

Lars