Recent Posts

    Authors

    Published

    Tag Cloud

    301 302 404 accessibility accounts ACLs advertising aggregation Agile Analytics android APP Article attachments awards backup BCM beta browser business continuity Calendar case-study categories Chrome citigroup cms codes coding standards Complaints contact management software control panel crm CSS customer management software customer relationship system customize database DataModel DDoS demo design designer device compatibility difference distribute a published article via email DND DNS documents drag & drop Editor email EOL erp event Excel featured feeds file manager file sharing file volume Firefox Firewall HA hack Handlebar how-to HTML HTML5 HTTP HTTPS iCal IE Instructions intranet iOS iPad Java JavaScript JDBC JDK Jenkins Job Track Journal JSON JVM landing-page launcher layered database layout logging login mac marketing menu meta Microsoft Outlook mobile module modules mustache navigation NTLM offline page painter password passwords PCI policy poll pricing privacy PROXY publish publisher publsher PWA redirect Redundancy release release-notes Report Tool Reports Responsive ReST RESTFul Rich text RSS Safari sandbox sanity schedule scrum search security SEO sessions setup shipping site builder source spell SQL Injection SSL SSO standards store stSoftware support survey Swagger Task template testimonial Threads timezone tinyMCE Transaction Search trigger twitter twitter bootstrap Ubuntu unit tests unsubscribe URL validation WC3 AAA web folders web services webdav windows 8 wizard workflow WYSIWYG XLS XLST XML XPath XSS

    How to use variables with CMS components

    Simplify Your HTML with Variables

    Variables can be used with CMS components to reduce duplication and easy maintenance

     

    Below is an example of using variables in an ActiveHTML component.

    Variables

     

    Types of  Variables:-

     

    1.Site Config XPath Variable

    This variable uses xpath statement to fetch values from the site configuration xml.

    SIte config xpath variable

     Below is an example of site configuration XML that should be used for site scope.Site Configuration XML

     


    2.Page Config XPath Expression

     This variable uses xpath statement to fetch values from the page configuration XML.  

      It looks and behaves similar to 'Site Config XPath Variable' except that the XML configuration has a page scope.

     
    3.SQL Variable

     This variable uses SQL statement to fetch data from the database.

     

    Below is an example of fetching the company name from the database.SQL variable

    4.Url Variable