How to hardcode username/pwd in the open doc function.

How to hardcode username/pwd in the open doc function.
can you please provide the complete opendoc function

hi,
Using SDK, logon token can be passed along with OpenDoc URL.
Sample code is as follows:
String openDocumentToken() throws SDKException, Unsup
portedEncodingException
IEnterpriseSession sess = CrystalEnterprise.getSessionMgr().logon ("username", "password", "<cms>:</port>",
"secEnterprise");
String token = sess.getLogonTokenMgr().createLogonToken("",120,100);
String tokenEncode = URLEncoder.encode(token, "UTF-8");
return ("http://<server>:<port>/OpenDocument/opendoc/openDocument.jsp?iDocID=Aa6GrrM79cRAmaOSMGoadKI&sID
Type=CUID&token=" + tokenEncode);
Regards,
Vamsee

Similar Messages

  • How can I remove items from the open a recent file menue.

    How can I remove items from the "Open a Recent File" menue. Many other applications allow the clearing of that file . Is this possible in Adobe Reader 10.1.2 ? If so how?

    See this previous topic: http://forums.adobe.com/message/3759596
    It is for Acrobat, but the registry entries are similar for Reader.

  • How to use TYPE addition with the OPEN DATASET ?

    Hi,
    How to use TYPE addition with the OPEN DATASET and what is the use ?
    For Example:
    OPEN DATASET 'test.dat'
      TYPE 'lrecl=80, blksize=8000, recfm=FB'
      FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
    Also, if I wish to do the same for a .CSV file how can we do it.
    Thanks,
    -Sid

    Hi,
    OPEN DATASET 'test.dat'
      TYPE 'lrecl=80, blksize=8000, recfm=FB'
      FOR OUTPUT IN TEXT MODE ENCODING DEFAULT
    For more information press F1 on OPEN DATASET.
    Thanks

  • IOS obviously allows only 10 Apps to be Chosen in The "Open in" function. How can I control which Apps ( if more than 10 are installed) can be selected?

    iOS obviously allows only 10 Apps to be Chosen in The "Open in" function. How can I control which Apps ( if more than 10 are installed) can be selected?

    I think that is influenced by the order in which the apps are installed on the iPad (I believe that it's the most recent 10 ?) - but as I haven't got more than 10 apps that support any document/file type I can't check.
    If you want to able to edit the list, then you could try leaving feedback for Apple : http://www.apple.com/feedback/ipad.html

  • The "open in" function in my iPad 2

    The "open in" function in my iPad 2 does not give me the option to open in adobe.  Is this a adobe issue or an apple issue?

    If you have Adobe Reader installed and are attempting to open a PDF, Adobe Reader should be in the open in menu. Sometimes it is hiding though and many people don't realize you can scroll the list in the open in popover. The interface is different on iOS 6, but Reader should be there too. Which version of iOS are you using?

  • Why does the "open with" function often not recognize valid file extensions

    Sample situation: I often need to open JPGs downloaded from the Internet in Photoshop, but I need to keep the default program as Preview.
    When I attempt to open the image in PS using the "Open With" function (in the Edit menu), there are often no choices - it's blank, so I need to open it in preview and then save it as a PSD file to quickly open in PS. Other times I will get a list of other installed programs like Excel, and need to scroll down to the "open with another program" button, where I need to manually find the PS application. Of course, I can always open the file from within PS, but why is the Apple option so seemingly arbitrary from one similar file to the next?
    There is often no rhyme or reason for the programs it offers me.
    This happens with other file extensions, too.
    Is this a known bug?

    It's up to the applications to declare what types of files they can open. They do so by storing the information in the CFBundleDocumentTypes section of the Info.plist file in the application's .app directory. If you know what you are doing, you can edit the plist file to add your own file types/extensions. Unfortunately, I don't know of a good application to do that for you (but it's not a bad idea for one, if I get the time).

  • Why do I get Error -1073807343 when calling the open visa function ?

    Hello,
    I am running a Labview 6i under Linux (kernel 2.4) and I have Error -1073807343 when calling the open visa function. I have verified the name of the session (GPIB0::9::INSTR), and I can communicate with my instruments with ibic.
    More informations : I use NIVISA 2.5 and nigpib-0.8.2. I have downloaded the lastest drivers of my instruments but it doesn't work better.
    Thanks very much for your help.

    We've had several NI-VISA releases since 2.5 - so I suggest you upgrade to NI-VISA 3.0. While there isn't anything specific to your type of problem in the Linux version of our readme.txt, I know we've made a number of other fixes.
    While the most recent release is NI-VISA 3.1, I still recommend you upgrade only to 3.0.
    This is because NI-VISA 3.1 requires the new NI-488.2 release for GPIB-ENET to be installed (even though you aren't using that product). This is due to some internal rearchitectures, and the PCI-GPIB product is not released. If you do want to go with NI-VISA 3.1, the new NI-488.2 release for GPIB-ENET on Linux will still work with the PCI-GPIB beta driver that you have installed.
    Dan Mondrik
    National Instruments

  • Username/pwd in the Url

    How do i not have the userid/pwd in the url when
    accessing web reports . I would like to be able to
    provide links to the report on a portal page but not
    have the username/pwd displayed on the url .
    Thanks
    Deepa

    Hi Deepa,
    Please see Chapter 8 (Running Reports Requests) and Section 8.9 (Using a Key Map File) in "Publishing Reports to the Web with Oracle9iAS Reports Services" - it has all the information you want.
    http://otn.oracle.com/docs/products/reports/content.html
    Thanks,
    Vinod
    The Oracle Reports Team

  • How do I open a PDF attachment using the Open In function from iPad mail

    I Am trying to open a PDF document from my mail. In previous versions of the iOS (presently I am on 7.1.1) the open in feature of the email  re organised that you had an rhe adobe reader installed and allowed you to select this to open the document. Thiis no longer working for me.

    The functionality certainly has not gone away with iOS 7. What do you see when you attempt this (and how do you go about it)?
    Only thing I can recommend off hand is to try a reset: Simultaneously hold down the Home and On buttons until the device shuts down. Ignore the off slider if it appears. Once shut down is complete, if it doesn't restart on it own, turn the device back on using the On button. In some cases it also helps to double click the Home button and close all apps BEFORE doing the reset.

  • How do we add apps to the 'Open With' contextual menu?

    After I updated to Mavericks, all of the apps, except the Apple ones, were blown away (eg. Word and Excel in my VM). 
    How do I put them back?

    'Open With > Other' would not show the apps in my VM.  I tried.
    I tried something different.  I left Word open in my Parallels (Vista) VM and ignored it for a while to see if Maverics would pick it up eventually.
    It did.
    It seems like that it takes some time for Maverics to find the apps in a VM before we can use it in the 'Open With' menu.

  • How do I remove apps from the "open with" menu in Mountain Lion?

    If I right-click a document in Finder, I get a contextual menu offering all of the potential applications with which I might open that document.  My problem is that some of those applications are no longer operational and I want them to be removed from the menu.  How can I do that?

    I'm not sure how the order is determined. Clearly, the first level sort is ascending by application name these days (since Lion, I think), but it seems to be random after that. It's not by version, though that would be convenient.
    Also, I notice that on my relatively clean Mountain Lion system I sometimes get duplicate entries in the "open with" list that cannot be explained by duplicate copies of the application. On a text file, I get two each of Microsoft Word, Microsoft Excel, Equation Editor, Evernote, and Xcode; none of these is duplicated on this system. I get only one entry each for the Notepad stub application, a few Adobe apps, TextWrangler, Safari, Numbers, Pages, and several others.
    Where there are duplicated entries, it doesn't seem to matter which one I select; I get the same instance of the program no matter which I select. I take this to mean that one is an alias for the other.
    That's my mystery and not necessarily yours. Are your "unhelpful but working stub applications" also duplicates?

  • How to eject a cd when the normal ejecting function doesn't respond

    How do I eject a disc that doesn't respond to the normal ejecting function?

    Five ways to eject a stuck CD or DVD from the optical drive
    Ejecting the stuck disc can usually be done in one of the following ways:
    1. Restart the computer and after the chime press and hold down the left mouse button until the disc ejects.
    2. Press the Eject button on your keyboard.
    3. Click on the Eject button in the menubar.
    4. Press COMMAND-E.
    5. If none of the above work try this:
    Open the Terminal application in your Utilities folder. At the prompt enter or paste the following:
    /usr/bin/drutil eject.
    If this fails then try this:
    Boot the computer into single-user mode. At the prompt enter the same command as used above. To restart the computer enter "reboot" at the prompt without quotes.

  • How can I select and enlarge the entire doc,ge on a page, reducing the surrounding boarder.  I can move the difference text boxes about independently of each other but the outer most boarders of the main template block appear to be fixed.

    How can I select adn enlarge the entire document/image on a page, reducing the the surrounding boarder?  I can move the different text and image boxes around independently of each other but the outer most boarders of the main template block appear to be fixed.  I thought I would be able to enlarge or reduce my document from 'page layout' but this does not seem possible.

    Inspector > Document > Document Margins
    The word is border. Boarders are the Harry Potters of this world.
    Peter

  • How to deconvolute an image when the line spread function is known

    I want to deblur images with a custom filter. Therefore I took images of a sharp edge, which gives me the line spread function (and so also the point spread function)
    It must be possible to derive a deconvolution kernel from this, but I don't know how.
    Or should I do it in Fourierspace?
    Thanks in advance!
    Certified LabVIEW Developer (CLD)

    I would think that the best way to do this is to use a deconvolution matrix. You can find out how to calculate the matrix in most vision books. There is a general formula.

  • Open Doc Function to pass parameters from Xcelsius to WEBI

    Hi All,
    I need to have a drill through functionality from xcelsius report to WebI report I am using the following open doc URL
    http://BO ServerName/OpenDocument/opendoc/openDocument.jsp?
    sType=wid&sRefresh=Y&sIDType=CUID&iDocID="Doc ID"&mode=full&lsSRegion=""&lsSDay=""&lsSPlant=""&lsSProduct%20Name=""
    When I run the flash in Internet Explorer then the drill through webi report opens without any error for the 1st time
    but when I try to reopen the report again with new set of parameters , the browser gets hanged
    Also when I run the flash in Firefox , I get error while opening the Webi Report for the 1st time but when I try to open the report again it works fine.
    Please let me know if anyone has faced similar issue before.
    I am Using Xcelsius 2008 SP3 and BO XI 3.1
    Thanks,
    Shweta

    Hi Shweta
    If you place the URL un the browser directly does the report open and refresh ok?  Can you try altering the parameters of the URL, also directly in the browser?
    Something else to check would be if the prompts in the WebI report can be optional, store the last value etc, and I wouldn't recommend having a prompt which has a space in the name such as you have (Product%20Name). Keep the prompts as simple as possible, and make sure that the 'equal to' and 'in list' operators are properly reflected in the URL. 
    Regards
    Charles

Maybe you are looking for