You are viewing limited content. For full access, please sign in.

Question

Question

Linked document in Weblink

asked on July 31, 2014

 If I find a document with weblink and I clicked that document, the system will show me the document with some linked documents (ex 4 linked documents), is it possible to sort all linked documents by date or invoice number?

0 0

Answer

SELECTED ANSWER
replied on July 31, 2014 Show version history

I don't believe DATE nor anything else other than the OtherName is returned with the results so possibly not. I have though included a sample on how to sort what is returned back which may help someone else.

 

Open up "links.xsl" found in the XSL directory in the WebLink installation directory. Right underneath the line that says, "<xsl:for-each select="Links/Link">" put the following and save the file:

 

<xsl:sort select="OtherName" order="ascending"/>

For more options with the xsl:sort element see http://www.w3schools.com/xsl/el_sort.asp

 

A short snippet on what it should like after you have made the change

 

<!-- Display Link -->
<xsl:for-each select="Links/Link">
<xsl:sort select="OtherName" order="ascending"/>
<div class="Link">

 

1 0
replied on August 1, 2014

Thanks It's working  :)

1 0

Replies

You are not allowed to reply in this post.
You are not allowed to follow up in this post.

Sign in to reply to this post.