Developer forum

Forum » Templates » Get PublishingOutput with param

Get PublishingOutput with param


Reply
Hi,

Is it possible to output a xml publishment with a parameter for example ProductID?

<xsl:apply-templates select="document('http://[yourdomain]/Admin/Public/DataManagement/PublishingOutput.aspx?ID=1&ProductID=PROD10')/View/Row" mode="gallerynames" />


Replies

 
Reply
Yes it is.

When using XML Publishing you are publishing a Data List.
If the selected Data List has a condition called 'prodid', you can use the same parameter when calling the XML Publishing.

// Dammark

 

You must be logged in to post in the forum