Portal Engine Questions on portal engine and web parts.
Version 4.x > Portal Engine > Referencing Fields in the Form Tab from the Design Tab View modes: 
User avatar
Member
Member
Dan.r.svensson-gmail - 4/9/2009 1:20:08 PM
   
Referencing Fields in the Form Tab from the Design Tab
How do I reference a field from the form tab in the design tab?

To better explain, I have a queryrepeater on a page that needs to reference a field in its Form.

I am trying to apply the same template to an unlimited amount of pages and have it draw content based on the ID in its form field (the pages are created through a form).

I can statically set the ID on the page, and it draws the correct content, but this has to be manually set on every page after the initial page creation.

Thank you for your time.

User avatar
Kentico Developer
Kentico Developer
kentico_martind - 4/15/2009 7:42:41 AM
   
RE:Referencing Fields in the Form Tab from the Design Tab
Hello,

If you need to get value of the field for current document you can use context macro {%nameOfField%}. Please see http://www.kentico.com/docs/devguide/appendix_a___macro_expressions.htm for more details.

Best Regards,

Martin Dobsicek