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     [CLOSED] create URL using webFOCUS RESTful webservices

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] create URL using webFOCUS RESTful webservices
 Login/Join
 
Platinum Member
posted
I am trying to create an URL using webFOCUS RESTful webservices.
Below is the code,But it ends up in some error always.
Can someone tell me where i am going wrong.

when i paste the individual components in the test page and run it works properly.

function button1_onclick(event) {

var eventObject = event ? event : window.event;

var ctrl = eventObject.target ? eventObject.target : eventObject.srcElement;

// TODO: Add your event handler code here

var val = IbComposer_getAllAmpersValues();

var url = "/ibi_apps/run.bip?BIP_REQUEST_TYPE=BIP_LAUNCH&BIP_folder=IBFS%253A%252FWFC%252FRepository%252FTraining%252FISOS%252F&BIP_item=HtmlPage1.htm";

var encodedData = window.btoa(url);

console.log(url);

var url1 = '/ibi_apps/rs/ibfs/WFC/Repository/Training/my.url?IBIRS_action=put&IBIRS_object=&IBIRS_object=rootObject _jt="IBFSMRObject" description="Yahoo" type="URLFile">encodedData';

window.open(url1);



}
Error

When i do the same in webFOCUS RESTful webservices test page it works fine.

WF 8202
windows 10

This message has been edited. Last edited by: FP Mod Chuck,
 
Posts: 181 | Registered: October 25, 2017Report This Post
Virtuoso
posted Hide Post
Turn on the browser debugger when you run the test page. If you have performed the logon, then the cookie should be there, but I believe you are missing a required header.


"There is no limit to what you can achieve ... if you don’t care who gets the credit." Roger Abbott
 
Posts: 1102 | Location: Toronto, Ontario | Registered: May 26, 2004Report 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     [CLOSED] create URL using webFOCUS RESTful webservices

Copyright © 1996-2020 Information Builders