Portal Engine
Version 2.x > Portal Engine > How do i get the cluture parameter in macro View modes: 
User avatar
Member
Member
mohamed_taha-csit.com - 6/17/2009 5:40:56 AM
   
How do i get the cluture parameter in macro
I want to use the culture in select statment in douments type and the SQL is

SELECT custom_nation.NationID, custom_nation.nationalityname
FROM custom_nation INNER JOIN
CMS_Document ON custom_nation.nationalityname = CMS_Document.DocumentName
WHERE CMS_Document.DocumentCulture ='{$string.key$}'

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 6/24/2009 6:11:12 AM
   
RE:How do i get the cluture parameter in macro
Hello,

Unfortunately, macros are not supported there. But you can create custom form control and ensure this by custom code in code-behind of this form control. Please see http://www.kentico.com/docs/devguide/form_controls_overview.htm and http://www.kentico.com/docs/devguide/developing_form_controls.htm for more details.

This feature should be added in 5.0 version.

Best Regards,
Juraj Ondrus