Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Abdul Raheem 17 posts 61 karma points
    Oct 01, 2014 @ 14:26
    Abdul Raheem
    0

    How to get auto generated id's in umbraco 7 data type

    I have create a datatype (text box) with name Id. This Id is used to arrange and display some pictures. Every time i had to add this id manually in the following format (id-10), Is there any way I can auto generate these ID's in the same format. I am pasting the xslt code that shows how I am using this dataype named as Id, please help. Thank you

               <xsl:attribute name ="data-type">

        <xsl:value-of select ="category"/>
      </xsl:attribute>
    <xsl:attribute name ="data-id">
        <xsl:value-of select="dataId"/>
      </xsl:attribute>
Please Sign in or register to post replies

Write your reply to:

Draft