Request for URL Link in SmartForm

Hi Experts,
I am working on ECC5.0. I am developing PO smrtform and got a requirement to have HTML links in Smartform Layout.
Example Scenario: I have html link as follows for item number 1 details in PDF format. Whe I copy and paste the following link I am able to see PDF document.
http://sapuxdev.abcd.com:8085/sap/ebp/docserver/100/po%20attachment%20oss%20note.pdf?attkget&KpId=49934B44F040744CE1000000AC1D061F&KpClass=BBP_L_DOC
Kind Note: This number "49934B44F040744CE1000000AC1D061F" is dynamic (this is changed based on Item number in a PO)
I want to store the above link in a variable called Item1_Details and want to display in smartform with the varible name. Whenever I click on variable in smartform the pdf file needs to be opened in new web browser.
Kindly let me know is there any solution for my problem.
Thanks a lot in advance for your help.
Thanks,
Sudarsan

Hi
If you need to create a static link only then specify in Jsp page
If the link is dynamic and also depends on some numbers It is always recommended to put the Link Or Url in the jsp dyn page or some java classess instead of jsp page.
below is the code you can use for that.
IPortalComponentRequest request =
               (IPortalComponentRequest) rendererContext.getRequest();
          IPortalComponentURI solnDetailsUriObj =
               request.createPortalComponentURI();
          solnDetailsUriObj.setContextName("specify the link or url")
          String solnDetailsUri = solnDetailsUriObj.toString();
          Link solutionLink = new Link("solutionLink");
Now you can use the link assigned dynamically to any thing.
Try this link also.
[http://help.sap.com/saphelp_nw04s/helpdata/en/45/1bc575ba064574e10000000a114a6b/content.htm]
Hope this will help
Regards
Hareesh

Similar Messages

  • How to remove bullets and spacing for url links in the Related Links iview?

    I tried to look for a property that I can edit the look-n-feel of the url links in the Related Link iView using "Theme Editor".
    All I need is to remove the bullets and increase some vertical spacing between the links.
    Currently, it looks like this:
    URL iView A
    URL Iview B
    I go through the whole section of Related Links properties, none of them seems to do what I want.
    Here are the list of properties in Related Link section (of Navigation Panel):
    Link Color
    Text Decoration of Link
    Hover Color
    Text Decoration of Hovered Link
    Initially, I thought "Text Decoration of Link" should be the right property I should look at. But there are a drop-down with 5 options: None, Underline, Blinking, Overline and Line-Through, which really can't achieve what I want.
    Thanks for advice.
    Kent
    Post with Diagram Illustration:
    <a href="http://sapnetweaverforum.blogspot.com/2006/11/how-to-remove-bullets-and-spacing-for.html">How to remove bullets and spacing for url links in the Related Links iview?</a>
    Message was edited by: Kent C.

    Hi, Kai.
    I checked the Related iView properties (URL Template), I don't see what layoutset it is really using. I am not sure, is that a layout set apply to the Related Link Iview?
    For the regular KM iView, I will see what Layout Set I want to apply, then I can go and change the properties (of layout coontroller, collection renderer & resource renderer)you mentioned. But for this Related Link iView, I really don't know. I guess it may be in the code itself.
    If there is a layout set for Related Link iView (or the place to apply layout set to it), can you point to me which one is that? (I did a search through the layout set names, I only find the AppQuicklinkExplorer (I used this for Dynamic Nav. Link iView before), if I can aply this layout set to Related Link iView, my problem will be solved.)
    Thanks for help.
    Kent

  • Object Services Attachements for URL Links

    Hi Guru,
      I have to create interface for Object Services Attachments for URL links.
    Scenario is
    Drad Table:
    DOKOB = PTRV_HEAD
    DOKNR = 0000000000000001000000000098
    objky = 0050000088\
    Draw Table:
    doknr = 0000000000000001000000000098
    filep: rgenbust:/DCTM370097578000AD0C
    Create object service url attachment with:
    http://rdgvmws10:8080/WebAccess/TEServlet.ser?docbase=rgenbust&sapLinkId=
    appended to FILEP after the /
    to make a link of:
    http://rdgvmws10:8080/WebAccess/TEServlet.ser?docbase=rgenbust&sapLinkId= DCTM370097578000AD0C
    I unable solve this issue can any help with the source code.
    I need to create program with scratch. Can any body tell me how to start the program. First which table i need to read. How to retrieve URL append to FILEP field. I would appreciate if any body help.
    Thanks
    Ashraf

    Hello,
    See hyper-links below:
    [How-To: Offline approval - Logon link does not work|http://wiki.sdn.sap.com/wiki/display/SRM/Offlineapproval-Logonlinkdoesnot+work]
    [KBA 1511180 - The hyperlink in the offline approval email is incorrect|https://service.sap.com/sap/support/notes/1511180]
    Regards.
    Laurent.

  • Bad request for URL?

    Hello All
    Whenever I try to call this .Net web service through a simple test:
    http://dif-standardsite.biz.pentia.net/sitecore%20modules/Web/DIF.LoginRelation.WebService/userAdmin.wsdl
    What does this mean I have no idea where to start debugging is it the
    URL. Seems it imported wrong?(the sitecore%2520 thing)
    Submitted at 30. oktober 2006 07:49:39 GMT
    External Service Failure: Response: '400: Bad Request' for url:
    'http://dif-standardsite.biz.pentia.net/sitecore%2520modules/Web/DIF.LoginRelation.WebService/useradmin.asmx'
    Oliver Billing

    bah forget about it... I found the error. BEA url-encodes as well and
    the URL encoding for % is %25 thus making the URL %2520. I made the
    service owner remove the blankspace in the URL
    [email protected] skrev:
    Hello All
    Whenever I try to call this .Net web service through a simple test:
    http://dif-standardsite.biz.pentia.net/sitecore%20modules/Web/DIF.LoginRelation.WebService/userAdmin.wsdl
    What does this mean I have no idea where to start debugging is it the
    URL. Seems it imported wrong?(the sitecore%2520 thing)
    Submitted at 30. oktober 2006 07:49:39 GMT
    External Service Failure: Response: '400: Bad Request' for url:
    'http://dif-standardsite.biz.pentia.net/sitecore%2520modules/Web/DIF.LoginRelation.WebService/useradmin.asmx'
    Oliver Billing

  • Insert URL link into SMARTFORMS and retrive the picture linked to the URL

    Hi Guys,
    I have the following problem:
    I have a URL link and I want to set this link into the smartforms and
    I want to retrieve the picture linked to the URL and display the picture in the print.
    Is it possible?
    Thanks for your support.
    Best regards,
    Giulio

    Hi
    Check the Tcodes
    OAOR and
    SMW0
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • Customization for URL link

    Hi all,
    I facing some problem about the customization for the URL link. I would like to change the logo of sun to my personal logo.Can anyone show me the way to do that ?
    Please advise, your advises are appreciated
    Thanks

    I am not sure if I understood your question correctly. Do you want to change the sun logo in the welcome page of web server instance?. If yes, then go to the <install_webserver_dir>/https-<config-name>/docs and edit the index.html.

  • Global Variable Update for URL Link

    Hello
    I cant seem to find the article anymore and not sure if I was imagining this.
    Within OBIEE when editing a dashboard we can add dashboard objects including a link
    For this link, we can have any web URL we want to redirect to another web page.
    For this URL, is there anyway to declare a static variable for this so we can go to one central location to update the URL?
    Recently I had to go into each dashboard and update the URL manually one by one. Rather avoid this exercise if I can just make one global variable change
    Any ideas?

    So I finally found what I was looking for and it was right in front of my nose
    In the catalog manager there is an option for "XML Search and Replace"
    To update all the URL's across all my dashboards I just needed to use this function
    http://obiee101.blogspot.ca/2010/08/obiee-catalog-search-and-replace.html
    Remember after updating to refresh, or exit and log back into your catalog manager to see the newly updated changes
    Thanks
    Edited by: chillychin on May 17, 2013 2:13 PM

  • An odd request for spry links

    Hello everyone,
    I am unsure of where else to ask this, so I figured this is most appropriate.
    I currently have horizontal spry links to the left hand side of my page, which unfold to three levels. Everything works fine at the moment however I am looking to add some new features if possible. Some of which I believe are easy, but I am still learning DW so I'm not aware of its full potential. They include:
    1) Making links expand when I click them instead of mouse hover.
    2) Keeping the selected link expanded, and bolded after I select itto open a new page, even if I move the mouse away from the linkstherefore viewers are aware of which page they are viewing. Ex: The third link in the link tree will remain expanded.
    3) Have the links remain on the left side of the page, but have the center of the  page (which is currently set at a fixed width) change, depending on which link you select.
    I have included an image to give you a better idea of what I am talking about.  Thanks in advance guys.
    -Dave

    Hi
    Some of which I believe are easy, but I am still learning DW so I'm not
    aware of its full potential.
    What you are asking would depend on your skill in css and javascript, as for being 'easy' !
    Your questions -
    1) Making links expand when I click them instead of mouse hover.
    2) Keeping  the selected link expanded, and bolded after I select itto open a new  page, even if I move the mouse away from the linkstherefore viewers are  aware of which page they are viewing. Ex: The third link in the link  tree will remain expanded.
    3) Have the links remain on the left side of the  page, but have the center of the  page (which is currently set at a  fixed width) change, depending on which link you select.
    Possible answers -
    Inspect the css and change the hover selection for the links to apply to the click selection, which also means you would have to use JavaScript to  'intercept' the default action for click. This would stop the user going/applying the link to navigate to the selected page/feature, 'how would the user do this if you stop the link doing so?
    Again you would have to use JavaScript to set a cookie with the menu item 'tree view' expanded to how you require.
    Use Ajax to set the css properties as required.
    You believe it is 'easy', but many experienced designers would not think of trying to do item one, as it would change how the user expects something to work, which is not advisable from the usability aspect. Items 2 and 3 would depend on your experience with JavaScript/css, but if you do not 'push yourself' to learn 'how-to' you will never learn.
    PZ
    www.pziecina.com

  • Transport Request for SE63 Translation of Smartforms

    Hello,
    In my company we use Solution manager through which transport requests (workbench or customizing) are generated.
    All these TRs are assigned to some project.
    My requirement is when i translate smartform through SE63 it doesn't ask for request. To transfer form in TR separate tcode is there SLXT. Using this tcode we can transfer translations in new TR. But we cant use existing TR, and TR created using SLXT is not assigned to any project from Solman so cant release to LXQ. So i need to take help of BASIS person and it takes long time and approvals to transfer translation form from new request to existing .
    Request solution for this.

    Hi Sachin,
    You can manually create TR using SE09 / SE10. and include your object inside it. For Smartform translations object type should be SSFO and program ID should be LANG.
    Hope this helps.
    Best Regards,
    Archana

  • Creating Ztable with fields for URL link and making available in ESS Portal

    Hi,
    I have a requirement for maintaining URLs in a table, The URL can be unspecified length.
    Table maintainance should also be provided.
    I have searched SDN for this. But could not find the appropriate solution.
    I have to pass these entries to ESS Portal through RFC.
    Can I pass a string more than 255 chars. as an export parameter in an RFC.

    you can have the field length what ever you want, but you can;t maintain them using Tablemaintenance. you can do one thing using some bdc or upload program update the table with the url what ever you have.
    and also you can pass the parameter with more than 255 chars length using the function module.

  • Request for XMLDOM Links

    Hi all,
    Can any body suggest the links which explains ALL XMLDOM Functions/Packages/Procedures.For exaple Xmldom.getelementsbytagname and Xmldom.gettagname.
    Thanking you in Advance.

    Some information is in the Oracle XML DB developers guide in chapter ten.
    http://download-west.oracle.com/docs/cd/B14117_01/appdev.101/b10790.pdf
    getElementsByTagName() Retrieves the elements in the subtree by element.

  • Request for URL to the List of Browser Safe Fonts

    (read "Subject" line)
    Shane H
    [email protected]
    http://www.avenuedesigners.com

    Nevermind - found it.
    For reference:
    http://www.ampsoft.net/webdesign-l/WindowsMacFonts.html
    Shane H
    [email protected]
    http://www.avenuedesigners.com
    "Shane H" <[email protected]> wrote in
    message
    news:e38i62$bot$[email protected]..
    > (read "Subject" line)
    >
    > --
    > Shane H
    > [email protected]
    >
    http://www.avenuedesigners.com
    >

  • Needs to know why firefox did not send a request for appcache manifest file declared in the html manifest="url" and how to fix it?

    I created an HTML5 appcache app as follow:
    <!DOCTYPE html>
    <html manifest="url.manifest">
    <head>
    </head>
    <body>
    </body>
    Upon onload() event, I made several AJAX calls (POST) to the servers to load the data for the first time and they all done via HTTPS. I've inspected the servers' access log and I did not see the request for url.manifest and the loading of the appcache fails with an error (no details provided).
    Chrome is working fine with current setup and here is the content of my manifest:
    CACHE MANIFEST
    CACHE:
    /images/flower.gif

    This forum answers many webdev questions, but I think yours calls for a higher level of expertise. You may want to try the [http://forums.mozillazine.org/viewforum.php?f=25 mozillaZine Web Development board]. It is an unofficial forum with separate registration.

  • Target field in Text URL Link not working.

    I'm working with CS6 creating a web-site for a client. The client has giving me a list of Publications to display on a particuter page, which is an overview of all the books that my cleint has published. The details for each book are on individual pages, which I've already created and have URL's for. The idea is to look at the overview page and if you desire, select a book title to view additional details about that particular book.
    For this Overview page I've created a classic text block that contains several URL links.
    Example: "This is information about book 1: URL LINK to BOOK 1 title.  Great Press Book Publisher, 2010.
    This is information about book 2: URL LINK to BOOK 2 Title . Great Press Book Publisher, 2011.
    This is information about book 3: URL LINK to BOOK 3 Title. Great Press Book Publisher, 2012.
    This is information about book 4: URL LINK to BOOK 4 title. Great Press Book Publisher, 2013."
    I've placed the URL links for each respective book in the highlighetd text area for that book, represented by the BLUE text in the above example. The overview page as well as the individual book pages are publised and in my domain on-line.
    Everything works fine with one exception. When I select a book link in the overview page, I want to have a New Browser window appear for that books individual page. Currently, the individual book page appears in the same browser window.
    All, documentation I read says that I can set the "Target" field in Text properties to either NONE or _Blank to get a New Browser Window, but this does not seem to work.
    Breaking up the text into small pieces is not an option, since Flash seems to shift text block positions when they are placed close to one another. I don't know why, it just happens. This makes the site unusable so the text block needs to remain a single text block for appearance reasons.
    So, does anyone know if this is a bug in CS6?
    Or does anyone know how I can get the "Target" setting to work for URL links within a block of text?
    Thanks.

    How are you assigning the links in the text?  Normally if you assign a url to a textfield you can select one of four different targets, none of which is NONE (_blank, _parent, _top, _self)... so I am wondering why what you describe is different than what I'd expect.

  • Request with URL ending with "/" not routed through default servlet

    I have deployed a web application that has a controller servlet. This
    servlet is configured (via web.xml) to be the default servlet with a servlet
    mapping defined with url-pattern set to "/".
    Requests for URLs such as "my.host/my/path" are correctly routed to the
    controller servlet, whereas a request to "my.host/my/" is not - it causes a 404
    to be returned immediately by the container.
    Any help appreciated
    Peter

    There's not enough data in your post to answer the question directly. Posting an example URL would help a lot.
    The chances are that the problem lies in the URL - it might contain some characters that are not directly usable in the shell and are therefore getting munged when you use them in 'do shell script'. There are ways around this, but posting an example URL would go a long way to telling if that's the problem or not.
    It is also possible that the web site is configured to block specific user agents such as curl or wget (in a vain attempt to block automated downloads of the content) but, again, it's hard to say without knowing a specific URL.
    If this is the case, you could use curl's -A switch to specify a different 'User-Agent' and fake out the server. For example, to pretend you're using Safari, use something like:
    do shell script "curl -O -A 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_2) AppleWebKit/535.12+ (KHTML, like Gecko)' " & fullWeb
    (note the single quotes around the User-Agent string)

Maybe you are looking for