Page 1 of 1

[RPG] Programmatically changing Document view and Web view

Posted: Tue Mar 18, 2014 8:42 pm
by LEBAS
1 - In Studio, I have defined a Document Library view as a menu element:
Documentview.png
Documentview.png (66.59 KiB) Viewed 2779 times
For example in a RPG logon program where I can configure menu items, can I programmatically change the Folder property of this Document Library view (for example, changing to /CPDP/SP/?



2 - In Studio, I have defined a menu a Web view as a menu element:
Webview.png
Webview.png (81.98 KiB) Viewed 2779 times
For example in a RPG logon program where I can configure menu items, can I programmatically change the URL property of this Web view (for example, changing to http://.../LongRange/resource/CPDP/SP/codigos_de_los_compradores.pdf?

Regards,

Re: [RPG] Programmatically changing Document view and Web vi

Posted: Wed Mar 19, 2014 10:37 am
by Mark_Dale
I don't think you can change them, but you could have multiple menu items defined, and show and hide them as required.

Re: [RPG] Programmatically changing Document view and Web vi

Posted: Wed Mar 19, 2014 10:00 pm
by LEBAS
Thanks Mark, that's a good idea.