cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Links are no longer live on a conditional datacard

Hi all, I have an app based on an Excel spreadsheet that is hosted on OneDrive. The app is running smoothly and automates very efficiently, but I have a minor issue. 

 

I have a column on my spreadsheet entitled 'Trial-sign-up'. 4 out of my 72 listings feature a 'Trial-sign-up' URL, the other 68 entries don't, so we didn't want the 'Trial-sign-up' heading showing up on most results, and thanks to another forum user I fixed this issue with the following code - 

 

If(IsBlank(DataCardValue13),false,true)

 

This did the trick nicely, but another unexpected issue has arisen - the 'Trial-sign-up' links are no longer live. They display in standard black text that doesn't click through. All other links are live, and 'Trial-sign-up' has a 'DisplayMode.Edit' value, as do all my other links, which are working. Any ideas how I can get my links to work again? Thanks

2 REPLIES 2
v-monli-msft
Community Support
Community Support

Hi @Anonymous,

 

You could set the OnSelect property of DataCardValue13 to:

Launch(Trial-sign-up)

When you click on the DataCardValue13, it will launch the webpage of Trial-sign-up.

 

For your reference:

https://docs.microsoft.com/en-us/powerapps/functions/function-param

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Thanks @v-monli-msft, that would have seemed to be the solution, but this has taken another strange turn! 

 

My other links have an OnSelect referring to the columns in my spreadsheet, eg - 

 

OnSelect

Launch (Specsheet)

 

and 

 

OnSelect

Launch (Vid1)

 

But on the Trial-sign-up link (that isn't working), the code has inverted commas, eg - 

 

OnSelect

Launch ('Trial-sign-up')

 

When I removed the commas so it matches the others like this - 

 

OnSelect

Launch (Trial-sign-up)

 

it returns an 'Invalid name' error warning...

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Top Kudoed Authors
Users online (66,428)