Skip to main content
11-Garnet
April 26, 2023
Solved

Widget Menu - MenuData

  • April 26, 2023
  • 1 reply
  • 1075 views

Hi, I have a menu configured with the MenuData property but whenever I change the option it opens the mashup in a new window but I need it to replace the current one, what configuration should I put in the service? At the moment I have this

result.AddRow({
linkDestination: 'MenuTest',
isDefault: true,
parentMenuId: 'topMenu',
imageURL: '',
linkTarget: '', // (Popup, Mashup, 'Replace')
description: '',
menuId: 'idOverview',
linkType: 'Mashup',
title: 'Over'
});

Best answer by nmutter

 

try with

linkTarget: 'Replace'

like the comment suggests. Or

linkTarget: 'Self'

'Self' is what a "normal" menu uses when defined as "Replace page"

nmutter_0-1682544478570.png

 

 

1 reply

nmutter16-PearlAnswer
16-Pearl
April 26, 2023

 

try with

linkTarget: 'Replace'

like the comment suggests. Or

linkTarget: 'Self'

'Self' is what a "normal" menu uses when defined as "Replace page"

nmutter_0-1682544478570.png

 

 

11-Garnet
April 27, 2023

With "Replace" I had already tried it and it didn't work, but with "self" it worked as I needed. Thank you very much.