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.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SHARING] script70 permission denied

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SHARING] script70 permission denied
 Login/Join
 
Platinum Member
posted
We had an issue where an *.html page became unresponsive with a script70 permission denied message.

We had a dropdown - that fired some onchange JavaScript. JavaScript was as follows:

function combobox1_onchange(event) {
                var eventObject = event ? event : window.event;
                var ctrl = eventObject.target ? eventObject.target : eventObject.srcElement;
                $("#iframe1").contents().find("body").html('');
                var selectedValue = $('#combobox1').val();
                if(selectedValue!='FOC_NOSELECTION')
                {
                    $("#button2").trigger("click");
                }
}



My JavaScript, in a nutshell, clears our the iFrame – then pushes a hidden button that has a task tied to it to run a report an stick it back into said iFrame.

This was a confusing one - as it worked for many people - but occasionally threw the error - then the page turns into a brick.

After some research - it appeared to be with javascript getting "hook" to iFrame.


The issue appears to be Client side JavaScipt doing a clear of the iFrame – at the same time as the click button trying to also put stuff into the same iFrame. It looks like, depending upon latency, the two statements fight for the iFrame. (Bit of speculation on my part - but appears to be true).

In the end - I just re-wired the JavaScript to NOT clear the frame - then click the button.

New JavaScript

function combobox1_onchange(event) {
	var eventObject = event ? event : window.event;
	var ctrl = eventObject.target ? eventObject.target : eventObject.srcElement;
	var selectedValue = $('#combobox1').val();
	if(selectedValue!='FOC_NOSELECTION')
	{
	    $("#button2").trigger("click");
	}
	else
	{
	    $("#iframe1").contents().find("body").html('');  
	}
}



Figured I share in case anyone else sees the script70 permission denied issue.

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


webFOCUS 8207.15
WindowsServer 2019
 
Posts: 120 | Location: Minnesota | Registered: August 26, 2013Report 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     [SHARING] script70 permission denied

Copyright © 1996-2020 Information Builders