Linked to item lookup column (from a different list) pops up dialog box - but JSON button/icon/href display doesn't open dialog box
I created a column that is a linked to item lookup field to a different list and pops up a dialog box to that item when clicked. I only get @currentField.lookupId or @currentField.lookupValue for the JSON formatting - and would like to have the "@currentField.lookupUrl" so that I can display a button or different link text - yet have it act like the "linked to item" link which inherits whether or not it opens in a dialog box from the "advanced settings" or the list.
vipul sharma commented
Please implement this functionality ASAP as this functionality present in SharePOint On-premise and our users are complaining about it a lot.
Please fix this, just want the dialog box (like it always was before).
Abby Barnes commented
Also, the linked item in a lookup column doesn't open in a dialogue box by default - it opens in a new tab. It would be nice if it opened in a dialogue box by default. Ultimately I don't understand why a LookUp column opens in a new tab by default, and not in a Dialogue Box like almost all other links to list or document information. The information in the List I have is too much to display all of it. Opening in a new tab is detrimental because:
1. It requires to the user to navigate away from the current List/Library, which could cause confusion.
2. The new tab is much larger than a dialogue box, which makes the information more spread out and therefore harder for users to view & process.
3. It is harder for users to identify which items they want to download, since they have to go to a new page to view more information.
Abby Barnes commented
Yes, yes, yes. I don't want the link to the item to open in a new tab, I want it to open in a dialogue box. I have tried creating a button with "defaultClick" and "editProps" but they both target the current list item instead of the item from the lookup list.
Maybe it would be possible to add a button element that let you set the list to target, instead of only targeting the current list/library?