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....
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.
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....
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
Thanx Chriztian.....
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
is working on a reply...