Setting up a edit button next to URL attribute to show the edit box.

I store URL in a String attribute. I can display the URL as link using the link of button. However I want to be able to provide a edit button right next to the link for users to edit/change the URL and save. Any ideas on how I can achieve this?
1 answers

Add a second button next to the button with the link.

Attach a microflow tot this button that gets the current object as input parameter and opens a dialog with a text box in a dataview with the attribute that has the URL stored. Make sure that the obejct is refreshed on save else the underlying page could still show the old value in the button.

Another option could be to display the attribute in a text box on the screen and allow the user to edit from there. To save the change in the url add an on change action to the text box saving the object.