Generating dynamic list content based on date widgets.

163 views
Skip to first unread message

kareem.e...@hkmci.com

unread,
Jul 20, 2014, 11:46:13 PM7/20/14
to suppor...@runmyprocess.com
Dear All,

I need your advice regarding how to accomplish this task.

I want to build a customized widget where user choose From date, and To Date from two Date widgets. once he chose the the dynamic array widget should populate the Saturdays exist within the chosen time frame.

Ex:
- User choose From date 21, Jul 2014
- User choose To date 4, Aug 2014

dynamic array should create two rows showing:
26/6/2014, Saturday.
2/7/2014, Saturday.

Any idea how can I accomplish that, I have tried to search your forums to get Array functionality to dynamically edit and fill the array widget but I can't find anything useful.

Also why your JS editor doesn't has any type of intellisense with Api description? It would save huge amount of time while development.
--

*Please consider the environment before printing this email or attachment*

This email and any attachments are confidential and may also be privileged.
If you are not the addressee, do not disclose, copy, circulate or in any
other way use or rely on the information contained in this email or any
attachments. If received in error, notify the sender immediately and delete
this email and any attachments from your system. Emails cannot be
guaranteed to be secure or error free as the message and any attachments
could be intercepted, corrupted, lost, delayed, incomplete or amended.
Master Concept Group and its subsidiaries do not accept liability for
damage caused by this email or any attachments and may monitor email
traffic.

Bilal Ajaj

unread,
Jul 21, 2014, 5:22:44 AM7/21/14
to suppor...@runmyprocess.com, kareem.e...@hkmci.com
Hello Kareem,

To dynamically populate RunMyProcess widget arrays you should create a json with your data then transpose it then use set function : RMPApplication.set(widget_array_variable_name, transposed_json);

Your JSON must contain the same number of elements as your array.

As for the JS editor, we prefer using a basic editor for the moment. I've forwarded the request to the R&D team.

Best regards, 

--

Bilal AJAJ

Customer Solutions Engineer

     
Fujitsu RunMyProcess user? Please add a review on GoogleApps Marketplace

Afin de contribuer au respect de l'environnement, merci de n'imprimer ce message qu'en cas de nécessité.
Be environmentally friendly: do not print this email unless it is entirely necessary.
Reply all
Reply to author
Forward
0 new messages