Portal Engine Questions on portal engine and web parts.
Version 7.x > Portal Engine > Get preview link for a page in transformation View modes: 
User avatar
Certified Developer v7
Certified  Developer v7
Gitesh - 5/8/2013 8:27:29 PM
   
Get preview link for a page in transformation
Hi Guys,

can we get the preivew links in transformation for each pages?

We can get the document link with GetDocumentURL(), but we would like to have the preview link.

Thanks
Gitesh Shah


User avatar
Kentico Consulting
Kentico Consulting
Kentico_RichardS - 5/9/2013 1:12:29 AM
   
RE:Get preview link for a page in transformation
Hi Gitesh,

Could you please tell us how the preview links looks like?

The available transformation you may use are listed here , especially in the Document links and URLs section.

Even though this was mage for version 6, it more or less all applies to the newest version as well.

Let me know if you need any more information.

Kind regards,
Richard Sustek

User avatar
Certified Developer v7
Certified  Developer v7
Gitesh - 5/9/2013 10:51:08 PM
   
RE:Get preview link for a page in transformation
Below is a sample of preview link:
http://staging.researchreview.com/cmsctx/pv/kdev/culture/en-NZ/wg/fcd383bd-8a18-4ab9-b100-faea86c26067/h/4e34a89c3bf935c609a30362dde8dea3871f3a014836536b60f89cf6bb4a46af/-/cms/getdoc/bcc8a7ee-12a1-4a93-bbed-ecb1ee6ad650/pv.aspx

Cheers
Gitesh Shah

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 5/13/2013 1:35:22 AM
   
RE:Get preview link for a page in transformation
Hi,

It makes no sense why would you do that - then it is not necessary to use workflows at all.

Anyway, you need to create a custom function for the transformation and implement the logic on your own - you can check the "Preview link" button code in the user interface and take inspiration from there.

Best regards,
Juraj Ondrus