Copied to clipboard

Flag this post as spam?

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


  • vaibhav 119 posts 139 karma points
    Jun 11, 2011 @ 09:14
    vaibhav
    0

    changeing properties of generic properties

    Hi,

    I have generic properties created in my document type....

    all generic properties have there properties like Name,Alias,Type,Tab,Mandatory,Validation,Description .... which are given when we create the generic property.....

    I want to change these propeties og generic properties ....using xslt .... is it possible to do that .....

    also is it possible to disable the generic property if not required using generic property....

     

  • Chriztian Steinmeier 2798 posts 8788 karma points MVP 8x admin c-trib
    Jun 11, 2011 @ 10:20
    Chriztian Steinmeier
    0

    Hi vaibhav,

    You're pretty much out of luck - XSLT is purely presentational - you *could* write an extension function that you could call from XSLT, but if you need to change or interact with Umbraco data, you really should be using a UserControl instead.

    Also, you can't disable a property on a document type - you can choose to ignore it, but your editors will still see (and edit) it.

    /Chriztian

  • vaibhav 119 posts 139 karma points
    Jun 11, 2011 @ 10:23
    vaibhav
    0

    Thanx  Chriztian.....

  • Jonny Irwin 91 posts 153 karma points
    Jun 11, 2011 @ 10:52
    Jonny Irwin
    0

    I triied out this package recently which lets you hide properties and/or tabs from content editors.  Maybe give it a go?

    http://our.umbraco.org/projects/backoffice-extensions/uhidesy

Please Sign in or register to post replies

Write your reply to:

Draft