How to save a data used in a Web App and put in a list/somewhere else ? (script ?)

Avatar

Avatar

thibaultb473199

Avatar

thibaultb473199

thibaultb473199

12-05-2019

Hello everyone,

I made a Web App to send to the customers if they accept the criteria about their personal information.

QMVYEocuAM.png

Here is the render of that Web App :

nlclient_QZubvAQDEa.png

What am I looking for, when the customer check the checkbox for the condition and click on the confirmation button, is to store the first data (308406*** call "cinNumber") in some kind of list so I can use it in a workflow later to make an exclusion.

Is the creation of a script is necessary (not an export in that) or is there a better way to store that data ?

Can we edit the storage of the checkbox so the "cinNumber" can be remembered or put in a list ?

Here is what the Web App looks like for your information :

nlclient_TIZsD8ZTyB.png

nlclient_VldVP5j6A7.png

nlclient_AsYZ0rxCUE.png

Is it possible to do something with the storage variable of that checkbox.

nlclient_CDBTIVn1Hf.png

If you need more information, feel free to ask.

Kind regards,

View Entire Topic

Avatar

Avatar

Jean-Serge_Biro

MVP

Avatar

Jean-Serge_Biro

MVP

Jean-Serge_Biro
MVP

14-05-2019

Hi Thibault,

It is perfect for schema field declaration and web page checkbox settings.


But there is a mistake in Storage activity, to my mind:

Briefly said, if you keep "Update the preloaded record unselected", unselect the Flag CIN Number and select the CIN Number for the key of reconciliation.

Detailed explanation and alternative:

the "Update the preloaded record" check is not checked, so it means, the checkbox value won't be saved by using the primary key of your target schema/document type selected in the webApp properties.
But by checking Update the preloaded record, it means it will save based on the preloaded schema key, I guess it is you CIN number.
If you do not want this behavior (that I thought because from the very first screenshot, the checkbox was not checked), it will update the record based on the criteria you select: in that case, it is important that the reconciliation optin must be kept with the CIN number as previously you did, well the key you need (primary or not, combined key), BUT NOT the flag (a boolean).

Unselecting the checkbox Update the preloaded record is actually useful whenever you preload with a key, or if it is a free form with no preloading, then reconciliate based on email or firstname+lastname, or other use cases, or also duplicating recipient for instance in a new recipient folder.

Hope this can help.

Regards
J-Serge