Thursday 15 September 2011

How to write a link to an Alfresco Share folder? (within a site) -


I want to create an HTTP link in a special folder in Alfresco share.

Alfresco In a rather complicated way encoded to share paths:

  thesite http: // server / share / page / site / thesite / documentlibrary thesite / documentLibrary / somefolder / Anotherfolder http: // server / share / page / site / thesite / documentlibrary # filter = path |% 2Fsome folder% 2Fanotherfolder thesite / documentLibrary / ÃÆ'à ¢ â,¬Å¡Ãƒâ € šÃ, · ???? »?? Http: // server / share / page / site / s1 / documentlibrary # filter = path |% 2F% 25E9% 25DF% 25u548C% 25u1EC7 thesite / documentLibrary / a #bc / a © one ?? Å ????  »?? Http: // server / share / page / site / thesite / documentlibrary # filter = path% 7C% 2Fa% 2523bc% 2F% 25E9% 25DF% 25u548C% 25u1EC7% 7C   

I suspect This is a double URLencode, once the urlencoded with the exception of the slash which are only.
But I'm not 100% sure.

Is there a C # library that does this encoding?

You inherit the document library folder for creation ? Using path = parameters can be easy to find.

Using the example path / sample content / "????" Line Line Line Line Line Line Line Line

  http: //alfresco.example/share/page     / site / mic / documentlibrary # filter = path% 7C% 2FSample% 2520Content% 2F% 25u221E% 25u2295% 25u2297% 25A4% 25u263A% 25u2639% 25u2605% 25u2606% 25u2605% 25u2606% 25u2605% 7C & amp; Page = 1   

You can generate a

  https: //alfresco.example/share/page/site/mike/documentlibrary? Looks like pass = / Samp le% 20Content /% E2% 88% 9E% E2% 8A% to 95% E2% 8A% 97% C2% A4% E2% 98% BA% E2% 98% B9% E2% 98 % 85% E2% 98% 86% E2% 98% 85% E2% 98% 86% E2% 98% 85   

Then using C # you will use Uri Paths on .scapeUriString () and it ? With the path =

the base document can be added to the Library URL, you can see how the path parameter is interpreted in .

No comments:

Post a Comment