Expand my Community achievements bar.

Locking Fragments

Avatar

Level 2

Is there a way of locking fragments so that a developer can use the fragment in a form, but not edit it's content?

So for example, if I have a fragment that contains six fields, some of which may have javascript behind them for visibility, can a developer use that fragment as it is, with no ability to update it's content?

Many thanks...Horrorhound.

3 Replies

Avatar

Former Community Member

Hi,

  If you can define type as protected / readonly for each of the fragment field it will work.

Regards,

Vik

Avatar

Level 2

Thanks Viks!

How do I define the field type as read only or protected?

Thank you!

Avatar

Former Community Member

Hi,

Open you fragment in Designer,

1) Select the field for which you need to modify type

2) Go to Object view ( If it's not open Shift+F7 to open it)

3) Select Value tab

4) In Type drop down box you can see various types that you can select for that field

Regards,

Vik