I Had connected Buttton to the URL in the dataset so at the initial stage there will be no link so when the user clicks on that button I need to display an error message displaying no link
You can do it, but I think it’s not a good user experience.
Instead you should make the button disabled, add a spinner/loader to the page, and once the data received, hide the loader and enable the button.
https://www.wix.com/velo/reference/$w/hiddenmixin/hide
https://www.wix.com/velo/reference/$w/collapsedmixin/collapse
https://www.wix.com/velo/reference/$w/disabledmixin/disable
https://www.wix.com/velo/reference/$w/disabledmixin/enable
ThankYou