Author Topic: Create/add own button to existing view.  (Read 5797 times)

Online hsujdik

  • Sr. Member
  • ****
  • Posts: 483
  • Karma: 17
Re: Create/add own button to existing view.
« Reply #15 on: March 05, 2020, 12:42:19 AM »
Include this parameter in your ViewActivator:
Code: [Select]
CreateNewRegionManager = true

Also check how the option interaction-workspace\views.ContactTabBottomHistoryMultiRegion.activate-order is set on your WDE application object
« Last Edit: March 05, 2020, 12:44:55 AM by hsujdik »

Offline MJaskowski

  • Newbie
  • *
  • Posts: 22
  • Karma: 0
Re: Create/add own button to existing view.
« Reply #16 on: March 12, 2020, 05:55:21 PM »
Hello,

Parameter CreateNewRegionManager has been changed on true, that was my first think about it but didn't change anything. If we talk about "interaction-workspace\views.ContactTabBottomHistoryMultiRegion.activate-order" parameter I guess we talk about CME options? If yes I checked it also and this doesn't help me, of course I added view likewise 3 other (standard) views. This did not make my view work. Of course, ordering works correctly.


Offline Janis

  • Full Member
  • ***
  • Posts: 123
  • Karma: 4
Re: Create/add own button to existing view.
« Reply #17 on: November 16, 2021, 06:47:12 AM »
Just in case if someone found this valuable topic like me today. There is one more easy workaround. Like Kubig said, we just have to register our view after ContactsModule is loaded. We can achieve this by choosing right task in the .module-config file:

Code: [Select]
<task name="InteractionWorkspace.Contacts.canUse" modulesToLoad="CustomTabModule" />
Many thanks to all participiants!