[RPG] Programmatically changing Document view and Web view

Please do not use to report errors- use your regional help desk.
Please mark posts as being for RPG or RDMLX (LANSA) developer.
To subscribe by email, display this forum, scroll to the end and select ‘Subscribe Forum’.
Post Reply
LEBAS
Posts: 23
Joined: Fri May 11, 2012 5:02 pm

[RPG] Programmatically changing Document view and Web view

Post by LEBAS »

1 - In Studio, I have defined a Document Library view as a menu element:
Documentview.png
Documentview.png (66.59 KiB) Viewed 2777 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 2777 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,
Mark_Dale
Posts: 61
Joined: Thu Apr 19, 2012 11:06 am

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

Post 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.
LEBAS
Posts: 23
Joined: Fri May 11, 2012 5:02 pm

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

Post by LEBAS »

Thanks Mark, that's a good idea.
Post Reply