Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dynamically getting object info

Status
Not open for further replies.

ericb1

Programmer
Oct 22, 2004
175
US
I know how to call viewrpt.cwr to view a report and can pass a user name and password, etc. But why don't the same parameters work on the infoobject.cwr?

I'm trying to pass a URL to infoobject.cwr to get info, but it needs different parameters? Where can I find these parameters, etc? And what are the different pieces of info that can be returned?

It looks like I need to pass it a session token, but I don't know how to get one? I tried:

Set Sess = SessionManager.Logon("Administrator", "xxxxx", "xxx", "SecEnterprise")
Set LogonTokenMgr = Sess.LogonTokenMgr
Session("IStore") = Sess.LogonTokenMgr
LogonToken = LogonTokenMgr.CreateLogonToken("", 1, 100)

But that generates errors. Any help is greatly appreciated, thanks!
 
Nevermind. There's a pretty good doc on the BO site that explains how to do this. Works pretty well. Search for CE8_Session_Handling.pdf on the site to find it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top