I am using the new vertical menu, but the 'Object' tabs I can create always refer to the view page of that object.
Is there an easy way to create a menu link that refers to another page of that object?
This would be very useful..
Ruben, thank you for posting in IDEA's section. If you are looking for an immediate solution, you can acheive this via scripting. However, it is still not well supported in the product in the sense that it does NOT work against OriginalId's. We will address the same going forward.
Use this API to render the target page.
rb.newui.util.loadApplicationPage(tabId,pageId,additionalParams)
You can invoke this as part of a hyperlink onclick event or similar.
Note: This is available only for NewUI pages starting Release 4.0.4.
Eg:
<script>
try {
if (!rbf_isNewUI()) {
throw 'This Script is written specific to New UI Context';
}
rb.newui.util.loadApplicationPage(5739,4909,{ id:5822 });
//Note, for object edit, view pages, it is mandatory to pass object id value as parameter 'id'.
}
catch (err) {
if (console) {
console.log(err);
}
}
</script>
You can create a generic page and add to it.
Thanks, but that doesn't help since all I can add to the generic page from the components is the 'view' of my object. I want to get straight into the 'new' page of my object.
Didn't find an existing idea for it, so created it:
community.progress.com/.../create_a_link_to_any_page_of_an_object_from_a_tab
Ruben, thank you for posting in IDEA's section. If you are looking for an immediate solution, you can acheive this via scripting. However, it is still not well supported in the product in the sense that it does NOT work against OriginalId's. We will address the same going forward.
Use this API to render the target page.
rb.newui.util.loadApplicationPage(tabId,pageId,additionalParams)
You can invoke this as part of a hyperlink onclick event or similar.
Note: This is available only for NewUI pages starting Release 4.0.4.
Eg:
<script>
try {
if (!rbf_isNewUI()) {
throw 'This Script is written specific to New UI Context';
}
rb.newui.util.loadApplicationPage(5739,4909,{ id:5822 });
//Note, for object edit, view pages, it is mandatory to pass object id value as parameter 'id'.
}
catch (err) {
if (console) {
console.log(err);
}
}
</script>
Thanks Siraj, that will do for now!