Hello, is it possible to load an input form input with data of a method?
I call a method pressing a button, then I want that the info returned by that method is showed in the input form. Is it possible?
Solved! Go to Solution.
Views
Replies
Total Likes
Hello @CampaignerForLife,
Yes it's possible.
Here is an exemple.
i've created bellow schema with the below method :
The definition of the method is simple, it just returns a string :
In a form, i trriger the method using a button and store the result of the method in my @string field.
I use a <refresh/> so that the result can be seen on the screen and a <saveView/> so that the change get stored to database
Bellow the definition of my form :
Before clicking the button:
After clicking the button:
Br,
Amine ABEDOUR
Hello @CampaignerForLife,
Do you mean to load input in adobe campaign console or in web application?
In campaign console
In campaign console you can do radio button but that enumeration is defined in the schema.
https://experienceleague.adobe.com/docs/campaign-classic/using/configuring-campaign-classic/input-fo...
You can change the schema programatically but wont recommend.
You can try to use enumaration field instead
On web app
On web app you can do it as well
Marcel
Hello @CampaignerForLife,
Yes it's possible.
Here is an exemple.
i've created bellow schema with the below method :
The definition of the method is simple, it just returns a string :
In a form, i trriger the method using a button and store the result of the method in my @string field.
I use a <refresh/> so that the result can be seen on the screen and a <saveView/> so that the change get stored to database
Bellow the definition of my form :
Before clicking the button:
After clicking the button:
Br,
Amine ABEDOUR
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies