Search Engine: Elastic

Article ID: 131238, created on Aug 4, 2017, last review on Aug 4, 2017

  • Applies to:
  • Business Automation

Question

There are some synchronization options that we would like to hide, e.g. "Update Notification Schedule".

Answer

The desired result can be achieved by applying customization to BA control panel.

  1. Make sure /usr/local/bm/customization is a symlink to /usr/local/bm/conf/wnd/BM/customization/customization
  2. To hide an option when making synchronization from service plan (Plan > Update Subscriptions) create a file /usr/local/bm/customization/Plan_SynchronizeSubscrsWin.xml

    <window type="Plan_SynchronizeSubscrsWin">
            <elements>
                    <input id="vOverwriteNotifSchedule" visibility="no" />
            </elements>
            <layout>
                    <grid id="dataSubscription sync options">
                            <row id="vOverwriteNotifSchedule" visibility="no">
                            </row>
                    </grid>
            </layout>
    </window>
    
  3. To hide the same option when syncing individual subscription, create a file /usr/local/bm/customization/Subscription_SyncWithPlanWin.xml

    <window type="Subscription_SyncWithPlanWin.xml">
            <elements>
                    <input id="vOverwriteNotifSchedule" label="Update Notification Schedule" selector="checkbox" visibility="no" />
            </elements>
            <layout>
                    <grid id="dataSubscription sync options">
                            <row id="vOverwriteNotifSchedule" visibility="no">
                            </row>
                    </grid>
            </layout>
    </window>
    
  4. restart www

    service www restart
    

If some other option is to be hidden, check its id in the source file localed in /usr/local/bm/conf/wnd/BM/.

The customization guide can be found by the link.

198398b282069eaf2d94a6af87dcb3ff caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07

Email subscription for changes to this article
Save as PDF