Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
I think I understand what you're after and it's not supported in any nice fashion.
I guess one option you have is to hook up to the saved or published events and modify the page type data. In there you would move the LinkItemCollection property to a Tab with other permissions or set the property to visibleineditmode = false. Downsite is that it would then disapper from the All properties view and you would need to not output editattributes for it in the template. It would also be hard to control on startup when models sync.
You also have the option of setting permissions to only allow Create but not Edit a page or maybe only allowing onpage editing for the group in question.
There might also be an option where you include some of your own javascript in edit mode where you find and try to disable the control.
Hi Johan Kronberg,
I would like to disable the links after adding a link in linkItem collection property(It should allow single link instead of multiple link). I want to restrict multiple links.
Could you suggest me proceed further.
OK, from that input maybe you should just create a local block that contains Url, LinkText and Target properties instead of using a LinkItemCollection.
I think Johans suggestion is probably the easiest one. But maybe you could do a custom validation attribute to limit the numer of links to one.
Thanks for all your reply. I have done the local block with Title,target,link properties and also the validation..
Is there any way button to save only the Title with link.
Hi,
I created one page with LinkItem collection property.How to disable the fileds in link item collection property,that means,
once i use the link means,second time shoul not to allow..how to restrict that?