2

I have a requirement where only one field should never be published to web for all the items. Is there any provision to restrict one particular field to be published?

  • hey Summi, what are you trying to achieve ? – Vlad Iobagiu Feb 21 at 14:43
  • Hi Vlad, For SEO reasons, we have to set some field value to false in master db but never in web. So the field should have opposite values in two DBs. – SummiJ Feb 24 at 6:31
3

The checkbox field "Never Publish" appear just on templates and not on field level, so you can not used this functionality.

You can use Security restriction to restrict just one field of an item.

You can use Everyone role for restriction, because all users are part of this role, and deny Field read and Read

enter image description here

|improve this answer|||||
  • Upvoted.. This should be the perfect solution.. You should never restrict publishing a field, if you do then your schema will be different in "master" and "web" and that will be an inappropriate fix/solution, because your web db should be containing final version of any content with no change in schema/template.. – Gobinath Saminathan Feb 21 at 16:43
  • Thank you! :) This should work for me. – SummiJ Feb 24 at 6:33
  • please mark the answer as correct to help others if it works for you – Vlad Iobagiu Feb 24 at 6:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.