RID/getAccessLink() in WPC of KM link

Hello everybody,
I need to show on a news file the link of a xml file made with WPC to itself.
I used this code, which works perfect:
         <xsl:if test="@type='relatedLinks'">
                <div>Reed more:<a>
                          <xsl:attribute name="href">
                               <xsl:value-of disable-output-escaping="yes" select="wpc:getAccessLink(string(@rid), string(/document/@locale))"/>
                          </xsl:attribute>
                 <xsl:value-of disable-output-escaping="yes" select="@title"/>
               </a></div>
         </xsl:if>
And the result is a nice text with this link:
http://xxxxxxx:50000/irj/servlet/prt/portal/prtroot/docs/guid/2052d9da-e059-2b10-1788-c14c4d260688
So, I tought that I could you the same logic for another text, and I wrote this:
          <a>
               <xsl:attribute name="href">
                 <xsl:value-of disable-output-escaping="yes" select="wpc:getAccessLink(string(@rid), string(/document/@locale))"/>
             </xsl:attribute>
               <xsl:value-of disable-output-escaping="yes" select="document/elements/element[@type='title']" />          </a>
          <xsl:if test="document/properties/property[@type='displayNewIcon']/@value='true'">
               <span class="new" valign="top"><xsl:value-of disable-output-escaping="yes" select="wpc:getString('xsl.xmsg.new', string(document/@locale))"/></span>
          </xsl:if>
The problem is that the link is not complete, it shows only the first part, like this:
http://xxxxxxx:50000/irj/servlet/prt/portal/prtroot/   ...????
Both logics are written in the same .xsl file I use for the layout of a Web form I did with [this guide|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/2041eb17-6001-2b10-b08d-b95ce55fa9b7]
Could someone please help me?
Thanks!
Demis

Hi,
I've seen your code, and I have copied and tested it.
Unfortunately my getAccessLink() return me a empty value.
Do you know why ?
regards

Similar Messages

  • How do I get rid of a border around a link?

    I made a 'twoColFixLtHdr.css' document. I inserted .png files
    (button images) into the sidebar and have these linked to documents
    using the 'Browse for File' icon in the Properties window. In
    Safari and IE the pages look fine in that there is no blue border
    indicating that the files are linked. In Firefox, however, there is
    a blue border surrounding the files. Is there any way to get rid of
    this border so that it doesn't show up in Firefox?
    Thanks for the help,
    Lou

    .oO(louhosta)
    >Thanks that did it. By the way, how did you learn how to
    do that? I would
    >never in a million years came up with that style rule "a
    img" let alone adding
    >{border: none; } to it! Any suggestions on how to start
    learning this?
    Get a tutorial/book about CSS. Learn how it relates to HTML
    and which
    things you can affect through CSS by changing properties.
    Learn how to
    address specific elements by using selectors. These selectors
    are the
    most powerful, but IMHO also the most underestimated feature
    of CSS.
    It's really not that difficult. With just some basic
    knowledge, rules
    like
    a img {border: 0}
    become almost trivial to write and understand.
    Micha

  • Getting rid of the iTunes Store arrow links

    Hey
    Just upgraded to version 8 (.0.1.11) and now little (->)'s appear in the name, artist and album columns (genre too but I don't display that so w/e) of the selected as well as currently playing songs, linking to a search for the respective title in the iTunes store.
    I remember seeing these arrows in a previous version (though not six of them) and managed to get rid of them, but I can't seem to find where you get rid of them now. Anyone care to point out where?
    thanks

    You can't do it in the latest iTunes.
    But...
    If you don't mind a bit of hacking the following thread contains information for both macs and windows that may interest you.
    http://discussions.apple.com/thread.jspa?threadID=1701088&start=15&tstart=0

  • WPC - highlighting the link of the current page in the link list

    Hi,
    is there any way to highlight a link in my linklist if it's the link to the page i am currently visiting?
    That would make it possible for me to customize the link list form and change it into some kind of "tab"-list form where the current tab is highlighted.
    A solution via xsl would be fantastic.
    Thanks for your support.
    Sebastian

    You can submit ideas here - http://hendrix.mozilla.org/
    The [https://addons.mozilla.org/firefox/addon/3880/ Add Bookmark Here ²] extension does what you want.

  • WPC - Dynamic List - Link to the page of an wpc_article

    Dear all,
    Im working with dynamic Lists to show a list view of my wpc_articles.
    In the default settings the elements of the list have a link directly to an article. Therefor the property "contentLink" is used.
    I wanna change this link to the page where an article is placed. So Im wondering:
    Is there anyway to get the path of a page from the article instance e.g. a property like "parentString" or something like that?!
    Thanks in advance.
    Greetings,

    Thanks for the answer.
    Guess i have to put everything I need in the article element so i do not need to show the page.
    Another question occured to me while I was doing that:
    When I navigate from a Dynamic List to an Element, it should be possible to navigate back and forth with the buttons I created using the history api.
    Instead of the "<a href..." in the default dynamic list I created an onclick event. Right now im trying to navigate to the article with its guid and the method "EPCM.doNavigate(...)" but until know i haven't been able to get it done.
    Is it even possible to reach that goal and in case it is am I on the right track or is there a better approach available?!
    Thanks in advance...
    Greetings,

  • How do I get rid of a spams? I got them after updating Adobe Flash

    Suddenly I started getting a bunch of spams after updating Adobe Flash in my Imac.
    How can I get rid of them?

    Check the links below for options to remove the Adware.
    The Easy, safe, effective method:
    http://www.adwaremedic.com/index.php
    If you are comfortable doing manual file removals use the somewhat more difficult method:
    http://support.apple.com/en-us/HT203987
    Also read the articles below to be more prepared for the next time there is an issue on your computer.
    https://discussions.apple.com/docs/DOC-7471
    https://discussions.apple.com/docs/DOC-8071

  • Allocating extra RID pool

    By default, RID master allocates 500 RIDs to each DC. When a DC runs out of RID and requests extra RID, how the allocation is done?
    e.g if DC1 request additional RID pool, will RID master allocated extra pool only to requested DC or for all?
    If it allocates to only the requested DC then if there are 8 DCs in a domain each having 500 RID and if DC1 has requested all the remaining RID Pool then RID master will run out of RID and cannot allocate RID to other DCs in the near future.

    Hi,
    A domain controller requests RID allocations in blocks of 500 RIDs at one time. You can override this default using the following registry REG_DWORD value on a domain controller:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NTDS\RID Values
    RID Block Size
    Checkout the below link on technet article for more information,
    Managing RID Issuance
    Regards,
    Gopi
    JiJi
    Technologies

  • Any iView to add WPC page in NW Portal 7.3?

    Hi All,
    Recently we have upgraded our portal from 7.0 to 7.3.
    In 7.0 i used to create an iView from com.sap.nw.wpc.runtime portal component,in the iView i use the RID of Compound Document to give the path of the WPC page in KM.Since i am adding WPC page to the iView i could able to use the  edit Page option.
    But in 7.3 there is an iview template WPC Web Content iView,with this i could able to add only the WPC content not the page because of that i am not getting the edit page option in 7.3.
    Anyother way to add the WPC page to the portal page.??Any body faced this issue??,Kindly help me to solve the issue.
    Naga

    Hi,
    since NW 7.3 SP9 it is possible to connect to a page not only to the area. The page itself has an id which you can use to connect to within a role. see here:
    http://scn.sap.com/community/netweaver-portal/blog/2013/04/10/wpc-pages-and-navigation-properties
    if you don't have SP9, you can achieve this as follows:
    1. create new iView from gpar:/com.sap.nw.pcc.mgr/default (this iview has ability to run wpc page via rid = path to runtime page), the old iview wpc.runtime.... will not work anymore.
    2. to find the rid of your wpc page you have to go to pcd inspector, path
       pcd: com.sap.portal.pcc/StagingAreaId/<yourarea>/ and click on "all properties" on the page you want to display. search for property com.sap.portal.pcc.rtObjectId
    copy this value to rid in the new iview and the page will be displayed with the new iview.
    if you have SP9, you don't need pcd inspector as the page id displayed in area management is the same as com.sap.portal.pcc.rtObjectId
    best regards,
    Lars

  • Get rid of 'export' window

    i had a subscription to the export product for 1 year. i don't need it anymore, i have not renewed, but it's column continues to open in all my .pdf documents. it's taking up half my screen, please tell me how to get rid of it. thank you

    The "Mobile Link" feature associated with the updated Acrobat Reader XI can be turned off.
    Launch Adobe Reader XI. Click the "Open" button.
    In the dialog presented observe the Off / ON "switch" located in the upper right.
    Click on "OFF".
    What this feature does is give you immediate access to your "Files" zone up at 
    https://cloud.acrobat.com/  
    That is 5GB of free space for parking files of a support file format (PDF is, of course, one of these).
    You can obtain a "share link" from your Files account and share it via email or via a post to a forum.
    Be well...

  • Resolve Broken Links with No Reference

    I have many broken links in a webhelp project that I cannot
    resolve because there is no reference. Is there a way to delete
    broken links?

    Hi, I have a similar problem and cannot seem to get rid of a
    bunch of broken links.
    Basically at some point this project file had an html
    subfolder that was taken out. Consequently many topics had
    html\<topicname>.htm and then became <topicname>.htm.
    My problem is now that these files with the html\ folder are
    under broken links and now don't reference or link to anything if I
    right-click on them. I cannot restore them, delete them, or edit
    them in any way.
    I find that it is also creating problems when the WebHelp is
    generated and put on our server, several topics give a "file not
    found" error because they are searching for html\ in the filename
    and of course cannot find it. I have fixed these by searching and
    getting rid of any reference to \html in the topic files, but a few
    still don't link properly. Even after creating a new table of
    contents and re-linking all topics and images it does the same, AND
    has these broken links still listed.
    Any ideas? I realize this may be several problems. I think
    someone in the past deleted the html folder outside of RoboHelp and
    it messed everything up. We are taking about a Help file with over
    700 topics, so it is a real beast to work with.
    Thanks,
    Joel

  • Require links for web dynpro study material in PDF format.

    Hi,
    I would like to have web dynpro study material in PDF format. Can anyone suggest me with the links or sites that provide the study material in  PDF format.
    Thanks in advance,
    Shwetha Korlepara.

    Webdynpro Links
    Programming UI and Navigation
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9214b1e5-0601-0010-
    fdb0-ec32d43b06e0
    Webdynpro for Java
    http://help.sap.com/saphelp_nw2004s/helpdata/en/15/0d4f21c17c8044af4868130e9fea07/frameset.htm
    Webdynpro Samples
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/we
    b%20Dynpro%20Sample%20Applications%20and%20Tutorials.htm
    Web Dynpro User Interface
    https://www.sdn.sap.com/irj/sdn/developerareas/webdynpro?rid=/webcontent/uuid/ce44a14c-0a01- [original link is broken]
    0010-af89-d7dbd944f176
    PDf
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/com.sap.km.cm.docs/library/nw/netweaverdevel
    opersGuide2004s/SAP%20NetWeaver%20Developer's%20Guide%202004s/UsingJava_00_PDFsList.ca

  • Email link causing layout issues

    i am trying to add a email link to one of the images in my
    page layout. the problem is when i add the "mailto:" link to it i
    get a blue border around the image which is messing up the layout.
    any ideas would be great.

    Hello,
    You just need to add some CSS:
    a img {border:none;}
    That will get rid of the default blue image-link border.
    If you have no CSS Stylesheet or any embedded CSS in your
    page, and you're
    not sure where to add this, here's how:
    In code view, change this:
    </head>
    to this:
    <style type="text/css">
    <!--
    a img {border: none;}
    -->
    </style>
    </head>
    Take care,
    Tim
    You're seeing the blue border IE puts around image links.
    "reflexred" <[email protected]> wrote in
    message
    news:fmc4cq$etl$[email protected]..
    >i am trying to add a email link to one of the images in
    my page layout. the
    > problem is when i add the "mailto:" link to it i get a
    blue border around
    > the
    > image which is messing up the layout. any ideas would be
    great.
    >

  • External Link in DTN

    I have a workset which has a WPC site with three wpc pages listed in the DTN I would also like to have two links in the DTN which link to external sites is this possible and if so how do I go about it.  I tried to put the address in the external node target column but it was rejected.

    Hi,
    Have you tried creating another workset (standard PCD not WPC) with the links you want and then use merge id to merge the two worksets for the users?
    BRgds,
    Simon

  • Remove 'Return to Worklist' link in workflow notifications

    Hi,
    Does anybody know how to get rid of the 'Return to Worklist' link in workflow notifications? Should I be looking at modifying the workflow template or extending the controller?
    Thank you,
    Anatoliy

    Try giving the URL of the form.if this did not solve your issue then try attaching the particular form to the workflow.
    Attaching form has been already discussed in this forum. You can check earlier topics.
    Prabhu Barathi

  • When opening safari , i get a yahoo page. why ? and how to get rid of it?

    when opening safari , i get a yahoo page. why ? and how to get rid of it?

    Check the links below for options to remove the Adware
    http://www.adwaremedic.com/index.php
    Remove unwanted adware that displays pop-up ads and graphics on your Mac - Apple Support
    You may need to force quit Safari, the. Reopen Safari while holding the Shift key.

Maybe you are looking for

  • What kind of replacement charger cable do I need for my Acer Tab 8 A1-850?

    I have a brand new Acer Tab 8 A1-850 (which is so far working quite nicely) but the USB charger cable was accidentally ruined after an unfortunate encounter with hot candle wax. I'd like to buy a replacement cable but know not all micro USB cables ar

  • How can I create a NetBoot image using command line tools?

    Is it possible to create a NetBoot image entirely using command line tools? (That is, without using the SystemImageUtility) If so, are there reasonable instructions posted somewhere? I don't believe I can use SystemImageUtility with my current setup,

  • Steps to create a read only schema

    Plataform 11.5.10.2 Hi Guys, Can someone provide me with the steps to create a read only schema in Apps please. Thanks in advance

  • Program problem

    I can not send email from my phone.  Everything else works fine.  After hitting the send command the phone attempts to send the message for 3-5 sec. and then a red X appears next to the unsent message in the message box.  How do I fix????

  • E4X : How to get elements that contain a string pattern in the node name?

    Is there a way to extract children from an XMLList where the node name of a child contains a string pattern? For example : <record>      <XblahX/>      <cow/>      <YblahY/> </record> How to get the elements of record that have a node name that conta