Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only. Moving forward, myibi is our community platform to learn, share, and collaborate. We have the same Focal Point forum categories in myibi, so you can continue to have all new conversations there. If you need access to myibi, contact us at myibi@ibi.com and provide your corporate email address, company, and name.


Connect to myibi
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] When i try to reuse Save Selection code, I don't get Save selection popup.

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] When i try to reuse Save Selection code, I don't get Save selection popup.
 Login/Join
 
Gold member
posted
When i try to reuse Save Selection code, I don't get Save selection popup.

i was not using HTML composer because i need to do complex Launch page where HTML Composer will not support.

So, I followed below steps to implement the Save Selection button.

Step 1: Alter the ibiOptions variable
var ibiOptions = new Array(cgipath,ibirls,rltdyncalendar,olap,olapdrill,olappanebase);

Step 2: Add the function to JavaScript
//Begin function saveButton_onclick
function saveButton_onclick(ctrl) {
// TODO: Add your event handler code here
SaveSelectedParameters()
}
//End function saveButton_onclick

Step 3: Add a Save Selection Button
INPU style="Z-INDEX: 6; POSITION: absolute; WIDTH: 220px; HEIGHT: 40px; TOP: 460px; LEFT: 430px" id=saveButton language=java_script tabIndex=6 onclick=saveButton_onclick[this) value="Save Selection" type=button elementtype="27" name="saveButton"

I have removed the '<' and 'T' [INPUT) in the above code. Else input you will not be able to see the code as normal text, if i keep
 <INPUT automatically Save Selection button gets created for this topic area.

when i click the Save selection button the JavaScript is not executing and i don't see a popup which ask for save your selection.
Request to help me understand did i miss anything.
or do we have any work around to acheive this.

Thanks,
Santhosh

This message has been edited. Last edited by: <Kathryn Henning>,


WebFOCUS 8.0.0.7 App Studio
 
Posts: 67 | Registered: September 26, 2008Report This Post
Gold member
posted Hide Post
quote:
SaveSelectedParameters()

Function SaveSelectedParameters() is written in one of the java script(.js) files which you would need to include in your code. Try copying it from regular launch page and put it in your code. It should resolve the problem.

Thanks,
Pravin Singh


WebFOCUS 7703
Windows, All Outputs
pravinsinghwebfocus.blogspot.com
 
Posts: 51 | Location: WebFOCUS 7.7.03 | Registered: June 19, 2014Report This Post
Gold member
posted Hide Post
Hi Pravin,

Thanks for sharing the info.
Problem was i don't have save selection button privilage it was blocked at WebFOCUS Admin level.
It is fixed.

Thanks,
Santhosh


WebFOCUS 8.0.0.7 App Studio
 
Posts: 67 | Registered: September 26, 2008Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] When i try to reuse Save Selection code, I don't get Save selection popup.

Copyright © 1996-2020 Information Builders