Disable "Attachments", "Image Attachments" Controls on Form Builder Toolbox

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Disable "Attachments", "Image Attachments" Controls on Form Builder Toolbox

cygeforce
Hi All,

I would like to disable some controls that we don't use at the moment on form builder toolbox. After some investigation I know for some properties it's possible to disable it by changing "properties-form-builder.xml".

For example disable "Edit Source" can be done by set the following property as follows
    <property as="xs:boolean" name="oxf.fb.menu.edit-source"                         value="false"/>

However, I couldn't find the cresponding settings for "Attachments" and "Image Attachments". There is one property looked similar but probably worked in different way
    <property as="xs:string"  name="oxf.fb.toolbox.group.attachment.uri.*.*"         value="oxf:/forms/orbeon/builder/xbl/attachment-controls.xbl
                                                                                            oxf:/xbl/orbeon/image-attachment/image-attachment.xbl
                                                                                            oxf:/xbl/orbeon/attachment/attachment.xbl"/>

I tried to change it to below in an attempt to get rid of "Attachments" and "Image Attachments"
<property as="xs:string"  name="oxf.fb.toolbox.group.attachment.uri.*.*"         value=""/>

But that doesn't seem to have an effect as the controls still show on the form builder page.

I think I probably mis-understood the use of this property. Hope some one can help with removing these two controls.

Best Regards,
Yu
Reply | Threaded
Open this post in threaded view
|

Re: Disable "Attachments", "Image Attachments" Controls on Form Builder Toolbox

cygeforce
This was actually a red herring, as there is another config file with the same property which overwrites the setting.

Cheers,
Yu
Reply | Threaded
Open this post in threaded view
|

Re: Re: Disable "Attachments", "Image Attachments" Controls on Form Builder Toolbox

Alessandro  Vernet
Administrator
Hi Yu,

So you solved that one out, right?

Alex

On Wed, Mar 6, 2013 at 2:58 AM, cygeforce <[hidden email]> wrote:

> This was actually a red herring, as there is another config file with the
> same property which overwrites the setting.
>
> Cheers,
> Yu
>
>
>
> --
> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Disable-Attachments-Image-Attachments-Controls-on-Form-Builder-Toolbox-tp4656301p4656320.html
> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com.
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>


--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: Re: Disable "Attachments", "Image Attachments" Controls on Form Builder Toolbox

cygeforce
Yes, that was solved. Effectively the disable settings were overwritten. I changed the config that overwrites these settings. Now it works all fine.
Reply | Threaded
Open this post in threaded view
|

Re: Re: Disable "Attachments", "Image Attachments" Controls on Form Builder Toolbox

Alessandro  Vernet
Administrator
Hi Yu,

Perfect then, I am glad it works!

Alex
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet