Developer forum

Forum » Development » Code first item group visibility

Code first item group visibility

Ben Doorn
Reply

Hi ,

Where can I find the documentation about how to set the group visibility settings on a code first item. I want to hide some groups depending on on of the other parameters in the item. Through the Item creation interface of dynamicweb it is possible. But I cannot find any documentation/samples about how to code in in a code first item. The project I need this for is running on DW 8.9.

Kind regards,

Ben


Replies

 
Nicolai Pedersen
Reply

Hi Ben

Attached you find a complete example of using code first items. I am not sure you can set the group visibility using annotations, but will have it checked out.

You can see a list of all attributes here: http://doc.dynamicweb-cms.com/api/html/e51c1341-9de4-3947-14c3-d49b8dd1f518.htm

BR Nicolai

 
Ben Doorn
Reply

Hi Nicolai,

Thanx, but I already found the list with annotations and the Item.zip example. Unfortunately I could not find any information about how to set the visibility of a group in it.

Kind regards,

Ben

 
Vladimir
Reply
This post has been marked as an answer

Hi Ben,

Unfortunatelly this setting doesn't supported yet.

I registerred task to add it in 8.9 release and later: "28810 Code first item group visibility"

Sorry for inconvenience caused.

 

Best regards,

Vladimir

Votes for this answer: 1
 
Ben Doorn
Reply

Hi Vladimir,

Thanx for investigating. I will wait for the update containing this feature.

Kind regards,

Ben

 

You must be logged in to post in the forum