Opening document through LinkToAction

Hi,
I have a LinkToAction UI element, this link points to a document.
The display of the link is like this
<u>C:/Documents/New.doc</u>
But when i click on this link, nothing is happening, whether i have to set some action in onActionLinkClick method or leave it blank ?
I thought the OS will automatically open this word doc.
Do i have to do any special settings in browser or server.
Thanks
Senthil

Hi,
You have to put it in the server .If you have the document in test folder in c drive
then go to
\usr\sap\<instance name>\JC<instance number>\j2ee\admin\go.bat
open visual admin
go to services->http provider
select the tab alias
give a name say testword and define the path as c:/test/<name of the document>.doc
save properties
write the code below in the action associated with the link
IWDWindow newwindow = wdComponentAPI.getWindowManager().createExternalWindow("http://cgnlpt041:50000/testword","<title of window>",false);
newwindow.open();
deploy the project
Hope this helps you
Regards
Rohit

Similar Messages

  • Can't open documents through the finder

    Hi,
    I hope this isn't the wrong forum for this question.
    I have a new Mini Core Duo running OS X 10.4.5.
    I've installed MS Office 2004 (including the latest patches).
    If I try to open a Word (or Excel, Powerpoint, etc.) document by double-clicking on it in the Finder, I get an "operation could not be completed" message box (the error code is -10660).
    If use Word to directly open the document it works fine.
    I am pretty new to OS X so I am not sure where I should even start looking for the problem...
    Any tips would be appreciated!
    BT
    G5 20", Mac Mini Core Duo 1GB + 100 GB Mac OS X (10.4.5)
    G5 20", Mac Mini Core Duo 1GB + 100 GB   Mac OS X (10.4.5)  

    I found my problem:
    http://blog.wilsonet.com/archives/2003/12/31/error-code-10660/
    I moved the trial version (included with the OS) to the trash, then installed the full version of office.
    I guess whatever keeps track of file associations got confused - the Finder was still trying to use the trial version of Office, so all I had to do was empty the trash and the problem disappeared!

  • Pages only opens document through File Open

    Im having a problem where .doc files I have downloaded do not open in Pages when I double click them. I see the animation and the application switches to Pages but then no window appears.
    However, if I am in Pages and click File > Open > thefile.doc, it opens without issues.
    I have it set to Pages as the default application. Documents just will not appear when I double click on them..
    Any ideas?

    It sounds like your Launch Services database is corrupt. This happens more often than you would expect. I would use a tool such as OnyX to delete the caches & rebuild the database.

  • Opening Document's using Document ID (DocIdRedir.aspx) results in Read-Only mode

    Hi,
    The document doesn't have Edit option when it opens through the DocIdRedir.aspx?DocId.
    Tried below below registry update solution and it doesn't provide the checkin/checkout options.
    do we have any other option/solution to enable the edit button with checkin/checkout?
    Request you please provide the solution.
    Registry update Solution:
             Add the following entry into the users registry.
    [HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Common\Internet]  "OpenDocumentsReadWriteWhileBrowsing"=dword:00000001
               For a large number of users this would need to be done via Group Policy of course.
    Thanks,
    Neerender

    Hi  Neerender ,
    According to your description, my understanding is that you want to open document in edit mode with checkin/checkout through the DocIdRedir.aspx?DocId.
    For my test, if I configure my SharePoint 2010 to open office documents using the client application, when I open document through the DocIdRedir.aspx?DocId, the document  will be downloaded , then opened
    by the client application. So I can open it in edit mode.
    If I configure my SharePoint 2010 to open office documents in the browser, when I open document through the DocIdRedir.aspx?DocId, the document will be opened in the office web apps and I can edit it by clicking
    Edit in Brower.
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • How do I change the keyboard shortcut for Cycle through open documents in PS CC for Mac?

    Sorry to bug the community with such a seemingly inconsequential task, but I am seriously tired of using the awkward default keyboard shortcut for cycling through open docs in PS.  I'd like to change it to what I am used in in Chrome, which is Cmd+Option+[left] or {right} arrow keys.  I noticed this is not a command listed in the in keyboard shortcuts, for whatever reason.  Where on Earth can I change this? 
    If it is not possible to do it by default, is there a plug-in or a change to the code that will allow this basic functionality? 
    Thanks again guys and gals!

    As far as I know, you can't. It's "hard wired" in.  Not even Edit > Keyboard Shortcuts is allowed  to change it.
    However I did find this tip:
    Anyway i never found tabs in Adobe application useful, instead i prefer the old school method: simply switch off tabs feature via illustrator/ preferences/ user interface/ open documents as tabs. Then in Mac preferences panel, under keyboard, just search for the “focus on next application window” field (under menu, keyboard and text) and assign a shortcut if the default option doesn't fit you. And there is now you can easily switch between open documents!.
    The best part of this is that it can be used in all mac applications, not only Adobe ones. And remember, if you want this working on Indesign, Photoshop, etc be aware of first switch off the tab features so that the system could “see” multiple documents opened not only one single tabbed document.
    Gene

  • My MacBook Pro will not open documents via Adobe Reader. Says I need to aspen Reader in Browzer and accept terms and contitions first. Went through this 3 times and got through to "Finish", closed browser and then retried. No luck. What's going on?? Have

    My MacBook Pro will not open documents via Adobe Reader. Says I need to aspen Reader in Browzer and accept terms and contitions first. Went through this 3 times and got through to "Finish", closed browser and then retried. No luck. What's going on?? Have no problem with same documents on iPhone and iPad

    After you finished installing did you launch Adobe Reader from your /Applications folder and accept EULA(End User License Agreement)?
    What is your Adobe Reader version?
    What browser are you using and browser version?
    Thank You.

  • OPENING AND GETTING MS WORD ACTIVE DOCUMENT THROUGH CLIENT_OLE2

    I am opening a word document through webutil host command. Now I need to get the active document of the opened word file.
    How it is possible?. Since I need to fire Callback trigger 'MY_TRIGGER' I can not define 'Word.Application' and get the
    'ACTIVEDOCUMENT'.
    DECLARE
    PID WEBUTIL_HOST.PROCESS_ID;
    app CLIENT_ole2.OBJ_TYPE;
    ADOC CLIENT_ole2.OBJ_TYPE;
    BEGIN
    PID := WEBUTIL_HOST.NonBlocking_With_Callback('D:\Program Files\Microsoft Office\OFFICE11\WINWORD.EXE C:\MYWORD.DOC','MY_TRIGGER');
    --APP := CLIENT_OLE2.CREATE_OBJ('WORD.APPLICATION');     
    --ADOC := CLIENT_OLE2.INVOKE_OBJ(APP,'ACTIVEDOCUMENT');          
    END;

    hi
    i did not get u very well but i am trying to help u.what do u want to achieve?
    check this code.
    DECLARE
    app CLIENT_OLE2.OBJ_TYPE;
    docs CLIENT_OLE2.OBJ_TYPE;
    doc CLIENT_OLE2.OBJ_TYPE;
    selection CLIENT_OLE2.OBJ_TYPE;
    args CLIENT_OLE2.LIST_TYPE;
    BEGIN
    -- create a new document
    app := CLIENT_OLE2.CREATE_OBJ('Word.Application');
    CLIENT_OLE2.SET_PROPERTY(app,'Visible',1);
    docs := CLIENT_OLE2.GET_OBJ_PROPERTY(app, 'Documents');
    doc := CLIENT_OLE2.INVOKE_OBJ(docs, 'add');
    selection := CLIENT_OLE2.GET_OBJ_PROPERTY(app, 'Selection');
    -- insert data into new document from long item
    CLIENT_OLE2.SET_PROPERTY(selection, 'Text', :long_item);
    -- save document as example.doc
    args := CLIENT_OLE2.CREATE_ARGLIST;
    CLIENT_OLE2.ADD_ARG(args, 'c:\temp\example.doc');
    CLIENT_OLE2.INVOKE(doc, 'SaveAs', args);
    CLIENT_OLE2.DESTROY_ARGLIST(args);
    -- close example.doc
    args := CLIENT_OLE2.CREATE_ARGLIST;
    CLIENT_OLE2.ADD_ARG(args, 0);
    CLIENT_OLE2.INVOKE(doc, 'Close', args);
    CLIENT_OLE2.DESTROY_ARGLIST(args);
    CLIENT_OLE2.RELEASE_OBJ(selection);
    CLIENT_OLE2.RELEASE_OBJ(doc);
    CLIENT_OLE2.RELEASE_OBJ(docs);
    -- exit MSWord
    CLIENT_OLE2.INVOKE(app,'Quit');
    END;sarah

  • A friend wants me to put together on booklet that's been done in excel. I'm on a mac os 10. Do I need to download microsoft excel for mac or can I open the document through indesign?

    A friend wants me to put together on booklet that's been done in excel. I'm on a mac os 10. Do I need to download microsoft excel for mac or can I open the document through indesign?

    I second LibreOffice as it's the most recent fork, however NeoOffice and OpenOffice will also work.
    Just say No money to Redmond!
    Also the old Ready Set Go! will be having a Lion version out soon.
    It's a low cost page layout program (like Indesign but without the high price) and can make booklets etc better, import the excel grpahics from LibreOffice.
    http://www.diwan.com/ready/prsg.htm

  • Why I ca not open my document through adobe today ugent ??

    why I can not open my documents
    through adobe today ?

    This is a web forum not a chat room. Why did you mark your question as the answer?
    You still haven't given us much to go on? Are you opening these files from a website (clicking on a link)? I'm assuming they are pdf files, correct? If so, what web browser and operating system do you have?
    Remember, we aren't sitting there in the room with you so you need to be descriptive and answer all questions...

  • HELP:script that iterates through all opened documents and rezise them to match the biggest one.

    Hi,
    I'm making a batch processing action and I really need a script that iterates through all open documents, finds the one with the biggest image size and then iterates one more time to change the rest of the documents to the same image size dimensions. At the end all documents must share identical image size.  I'll really  appreciate if someone can put a quick script for doing this. Thank you !

    I think should do…
    #target photoshop
    if (documents.length > 1) {
         var smallest = 1000000; // Set beyond any size you may be expecting this should do?
         for (var a = 0; a < documents.length; a++) {
              smallest = Math.min(smallest,documents[a].width.as('px'));
         for (var b = 0; b < documents.length; b++) {
              if (documents[b].width.as('px') != smallest) {
                   app.activeDocument = documents[b];
                   var newWidth = new UnitValue(smallest, 'px');
                   documents[b].resizeImage(newWidth,undefined,undefined,ResampleMethod.BICUBICSMOOTHER);
    }else{
         alert("NOT enough docs to resize?");

  • Tabbing Through Apps AND Open Documents???????

    Hi all. Quick question.
    I live by the CMD + Tab shortcut for Mac OS, I love it, it saves me a lot of time. Heres my question:
    Is there a way to use the CMD + Tab shortcut to not only tab through applications but to also tab through open documents??
    For instance, If I have have multiple Microsoft Word (or any application with more than one document open) files up and I want to tab through them, what is the shortcut for that??
    Thanks for any input!

    Ferd gave you the keyboard shortcut you are looking for. Just to add another way, you can also easily navigate through open windows by clicking and holding on the app's icon in the Dock.
    -mj
    [email protected]

  • Linking a WEBI report through hyperlink in a webpage using open document

    Hi All,
    I have a hyper link in a web page which when clicked should open a WEBI report. I created it using the open document feature.
    Once clicking on the link, InfoView login credential page is displayed. After logging in the report runs.
    My client does not want the login page to be displayed since most of the users does not remember their password (since SSO is implemented).
    He wants to bypass this login page so that most of the users can directly view the reports.
    Question:
    Is there a way to achieve this i.e without asking for login credentials or by passing this?
    Possibilities :
    1: To create ID's for all the people (which I think is not a feasible option in my project)
    2: Create a guest account with minimum privileges and share the password with all the users.
    Note:
    1: I use BO XI R 3.1.
    2: No SDK is installed to do any programming.
    Any suggestion are most welcome.
    Thanks in advance
    Shreyas

    Hi Shreyas,
    Manual Easy Way for doing the activity in SAP Business Objects 4.0:
    This method is useful if we have a special system account that we want everyone to use.
    You will notice that all we do is generate a logon token using the appropriate username, password and CMS variables. Then we append the token onto ivsLogonToken.
    Note: The numbers on the url after /BOE/portal represents the timestamp of the last patch or install.  You can put whatever you want under the number section and Business Objects will automatically redirect to the appropriate start.do
    Step I:
    Go to the SAP BusinessObjects\Tomcat6\webapps\BOE\WEB-INF\eclipse\plugins\webpath.InfoView directory and edit custom.jsp
    Step II:
    You can copy the contents from the custom.jsp that I’ve provided below to your custom.jsp.
    Cutom.JSP File
    <%@ page import="com.crystaldecisions.sdk.exception.SDKException" %>
    <%@ page import="com.crystaldecisions.sdk.framework.*" %>
    <%@ page import="com.crystaldecisions.sdk.occa.infostore.*" %>
    <%@ page import="com.crystaldecisions.sdk.occa.security.*"%>
    <%@ page import="java.net.*"%>
    <%@ page import="com.crystaldecisions.enterprise.*"%>
    <%@ page import="com.crystaldecisions.sdk.plugin.admin.*"%>
    <%@ page import="java.sql.*"%>
    <%@ page import="com.businessobjects.webutil.Encoder" %>
    <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
        pageEncoding="ISO-8859-1"%>
    <%
    //BO Session and redirect to Infoview
    IEnterpriseSession enterpriseSession;
    /* * Set Enterprise Logon credentials. */
    final String BO_CMS_NAME = "bi4server";
    final String BO_AUTH_TYPE = "secEnterprise";
    final String BO_USERNAME = "Daya";
    final String BO_PASSWORD = "admin@123";
    ILogonTokenMgr logonTokenMgr;
    String defaultToken = "";
    * Log onto Enterprise
    boolean loggedIn = true;
    try {
    //Create session token
    enterpriseSession = CrystalEnterprise.getSessionMgr().logon(Daya,admin@123, BI4SERVER,Enterprise);
    logonTokenMgr = enterpriseSession.getLogonTokenMgr();
    defaultToken = logonTokenMgr.createWCAToken("", 20, 1);
    //Redirect with token attached to the ivsLogonToken parameter
    response.sendRedirect("http://"+BO_CMS_NAME+":8080/BOE/portal/1205291547/InfoView/logon/start.do?ivsLogonToken="+Encoder.encodeURL(defaultToken));
    catch (Exception error)
    loggedIn = false;
    out.println(error);
    %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>Insert title here</title>
    </head>
    <body>
    </body>
    </html>
    Edit the username,Password & BOBJ Server Name'in BOLD Letter
    Step III:
    Stop tomcat, then delete contents in the SAP BusinessObjects\Tomcat6\work directory.
    Then start tomcat again and the work directory will be regenerated with new code.
    Step IV:
    Trusted Authentication:
    Trusted Authentication is a component of Enterprise authentication that integrates with third-party single sign-on solutions, including Java Authentication and Authorization Service (JAAS). Applications
    that have established trust with the Central Management Server can use Trusted Authentication to allow users to log on without providing their passwords.
    This method is really cool because users don’t even have to know their passwords.  Basically with this method you can log into another system and if that system has the appropriate user name, you can pass it to the custom.jsp and then it will log you into BI Launchpad.
    In addition, you don’t need to create any java code for the enterprise token setup.
    Step V:
    In the CMC, go to Authentication, then select Enterprise.  Check Trusted Authentication is enabled, then click on New Shared Secret.  Finally download the shared secret key and keep it somewhere secure
    Step VI:
    Copy global.properties from <INSTALLDIR>\SAP BusinessObjects Enterprise XI 4.0\warfiles\webapps\BOE\WEB-INF\config\default into <INSTALLDIR>\SAP BusinessObjects Enterprise XI 4.0\warfiles\webapps\BOE\WEB-INF\config\custom.  Then using Notepad or another text editing utility, edit the following properties
    sso.enabled=true
    trusted.auth.user.retrieval=WEB_SESSION
    trusted.auth.user.param=UserName
    trusted.auth.shared.secret=<secret code from properties file you created in step 2>
    Step VII:
    Go to the SAP BusinessObjects\Tomcat6\webapps\BOE\WEB-INF\eclipse\plugins\webpath.InfoView directory and edit custom.jsp
    <\!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%@ page language="java" contentType="text/html;charset=utf-8" %>
    <%
    //custom Java code
    request.getSession().setAttribute("MySecret","32efbfbd35efbfbdefbfbd4363efbfbdefbfbd694aefbfbdefbfbd227530efbfbd5742efbfbd13efbfbd2befbfbd1fefbfbdefbfbdefbfbdefbfbd4e49efbfbd41550cefbfbd15703619d8b8efbfbd6cefbfbdefbfbd57efbfbd0defbfbdefbfbdefbfbd0605efbfbd6dc59b2728efbfbd");
    request.getSession().setAttribute("UserName", "Daya");
    %>
    <html>
    <head>
    <title>Custom Entry Point</title>
    <script type="text/javascript">
    function goToLogonPage() {
    window.location = "logon.jsp";
    </script>
    </head>
    <body>
    <a href="javascript:goToLogonPage()">Click this to go to the logon page of BI launch pad</a>
    </body>
    Edit the username(Daya) variable
    Step VIII:
    Stop tomcat, then delete contents in the SAP BusinessObjects\Tomcat6\work directory.
    Then start tomcat again and the work directory will be regenerated with new code.
    Hope this help you as well.
    Thanks,
    Daya

  • Iterate through open documents

    AVAppGetActiveDoc() gets the active document. I need a way to iterate though all the open documents and get AVDoc objects for each document.
    Secondly, is there a CHM file of the Acrobat SDK documentation. I find their HTML help pretty cumbersome to use.
    Deelip Menezes

    No - CHM is a Windows-centric format and doesn't do our Mac and Unix developers any good. HTML (and PDF) are nice cross-platform formats.
    AVAppEnumDocs() is the call you are looking for.

  • How to pass multiple dates through open document syntax

    Hi Team,
    I am need to pass more than one date from the summary report to detail report. What is the open document syntax to achieve this requirement. Thanks in advance
    pra

    Hi Pra,
    I believe you would need to use the lsM[NAME] syntax.
    lsM[NAME] is used to specify multiple values for prompts, separated by a comma.
    For instance:
    http://<servername>:<port>/OpenDocument/opendoc/<platformSpecific>?iDocID=Aa6GrrM79cRAmaOSMGoadKI&sID
    Type=CUID&sRefresh=Y&lsMparamStringDR=[c],[d]&lsMparamNumberDR=[3],[4]&lsMparamDateDR=[Date(2003,6,3)],[Date(2003,6,4)]&lsMparamDateTimeDR=[DateTime(2003,6,1,3,1,1)],[DateTime(2003,6,1,4,1,1)]
    Crystal reports
    If the target is a Crystal report, each value must be enclosed in square brackets.
    Web Intelligence documents
    The character ? is a reserved prompt value for Web Intelligence documents in an openDocument URL. Setting the prompt value to lsM[NAME]=? in the URL forces the "Prompts" dialog box to appear for that particular prompt.
    I hope this is a very helpful answer to you.
    Kind regards,
    John

  • POSTING G/L account documents through custom program

    While posting the documents through the tcode fb01,
    when I tick at PA segement button ASSIGNMENT TO
    PROFITABILITY SEGMENT screen opens, DERIVATION
    BUTTON is activated/enabled . But through a custom program when session is
    processed and when PA segement button is ticked on
    ASSIGNMENT TO PROFITABILITY SEGMENT screen, DERIVATION BUTTON is not visible. I can only see Continue, Next Page, Delete Assignment, and Cancel buttons. Where do I need to check this problem?

    Hi,
    Nope, in standard SAP you can not do that.
    You would need to develop your custom program for it.
    Regards,
    SDNer

Maybe you are looking for

  • Two main windows in smartform or two loops in one main window?

    Hello All, I have requirement in smartform where i want to print two diffrent data header and item data in the same page. and in between these two data i want one template to be printed for item data . Smartform is giving me error if i use two main w

  • Create tab seperated file on application server

    Hi all I need to create a file with Tab separation. I have a solution on a 4.7 system as shown below. But this does not work on a 4.6 system as the class does not exist. How can I do this on a 4.6 system? Thank you four your reply. Herbert CONSTANTS

  • Modify customer account group

    Hello,experts. can I modify customer accout group? when I use tcode xd07 to modify it ,the message is : Customer       900905      test Account group  one-time customer must be maintained after the account group has been changed follow after is  a ta

  • Get Last Row Excel VI

    Hello Everyone I came across the VI attached  on  https://decibel.ni.com/content/docs/DOC-22422 (Below is my modified LV 2010 version but it is not much different) I understand that you are able to put in numerical data but in a single row I want to

  • InDesign Contact Sheet paragraph styles

    I am trying to use the InDesign contact sheet, and I have figured out how to edit the script to adjust the paragraph styles. However, I have only been able to affect the entire text frame. I would like to have it so that the XMP description label is