Skip to main content

Notifications

Power Apps - Building Power Apps
Unanswered

Use a Wildcard in URL

(0) ShareShare
ReportReport
Posted on by 252

Hi All,

 

I have a URL that is used in a Launch function.  This opens a folder on a share point site.

This is the path that I am using: (Sharepoint site)/(variable).

 

What I would like is to use a wildcard after the variable, is this possible?

 

Thanks in Advance

 

 

Categories:
  • Skybluekid Profile Picture
    Skybluekid 252 on at
    Re: Use a Wildcard in URL

    Hi @mmbr1606 

     

    No joy I am afraid.

  • mmbr1606 Profile Picture
    mmbr1606 10,429 on at
    Re: Use a Wildcard in URL

    hey

    try this 

    Launch(
     Switch(
     VAR.'CurrentStatus',
     "Completed",
     Concatenate("(Sharepoint Site)/", ExtractFirstPart(VAR1), "* - COMPLETE"),
     "Cancelled",
     Concatenate("(Sharepoint Site)/", ExtractFirstPart(VAR1), "* - CANCELLED"),
     Concatenate("(Sharepoint Site)/", ExtractFirstPart(VAR1), "*")
     )
    )

    Let me know if my answer helped solving your issue.

    If it did please accept as solution and give it a thumbs up so we can help others in the community.



    Greetings

  • Skybluekid Profile Picture
    Skybluekid 252 on at
    Re: Use a Wildcard in URL

    Hi @mmbr1606 

     

    Currently I have the below Switch:

    Launch(

                    Switch(VAR.'CurrentStatus',

                                                    "Completed",

                                                    Concatenate(

                    "(Sharpoint Site) " VAR 1," - " ,VAR2, “(",VAR3,") - COMPLETE"),

                                                    "Cancelled",

                                                    Concatenate(

                    "(Sharpoint Site) ",VAR 1," - ",VAR 2," (",VAR3,") - CANCELLED"),

                                                    Concatenate(

                    "(Sharpoint Site) ",VAR 1," - ",VAR2," (",VAR3,")")

                         )

    )             

     

    What I really would like is to have a single line like below

    (Sharepoint Site)/VAR 1*

    where VAR is the first part of the folder name, so it does not matter what the rest of the folder name is.

  • mmbr1606 Profile Picture
    mmbr1606 10,429 on at
    Re: Use a Wildcard in URL

    Can you please share more insight to your scenario? Can u show us the launch function you are using?

    What do u exactly mean with wildcard?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,445

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,741

Leaderboard