web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Problem with displayin...
Power Apps
Unanswered

Problem with displaying variables outside of PowerApps

(0) ShareShare
ReportReport
Posted on by 4

Hello everyone,

 

I have built an app to help with cash handling in a shop, specifically I am having an issue with the safe count aspect.

 

In the PowerApps canvas studio preview and when I launch the app from PowerApps directly everything works fine, but, when I embed the app onto a SharePoint page variables don't seem to show.

 

in the PowerApps canvas studio it looks like this:

DPportsmouth_0-1640244892235.png

 

and when it's embedded in a SharePoint page it looks like:

DPportsmouth_1-1640244963891.png

 

When I enter a value into a text input field it immediately goes blank. When I click submit the SharePoint list I'm patching to updates as I would expect it to.

 

an example text input:

on change function is:

Set(bulk2pound,'textinput£2coinsfullbags'.Text);Reset('textinput£2coinsfullbags')

 

the default value for a text input is:

Text(Value(bulk2pound,"en-GB"),"£#,###,##0.00")

 

The visible value is set to true.

 

 

Each darker box is a collection but even when I add a field outside of a collection it does the same thing. 

 

I have tried all the normal things:

  • saved and published the app multiply times.
  • triple checked the SharePoint page is displaying the most up to date version
  • checked chrome is up to date
  • ran it in edge and had the same problems
  • I added a label to show a variable independently of the text input and it has the same problem.
  • Tried a label on a different screen and it's the same problem. 

    I have searched everywhere I can think of for a solution but I don't really know how to phrase the problem - any help would be greatly appreciated. 

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    156,327 Most Valuable Professional on at

    Hi @DPportsmouth ,

    What is the Item of the Form you are displaying?

  • DPportsmouth Profile Picture
    4 on at

    Hi Warren, 

    Thank you for coming back to me, it's not a form it's just lots of textinput controls which then patch into a sharepoint list.  

     

    this is the treeview:

    DPportsmouth_0-1640255313471.png

    which is this container:

    DPportsmouth_1-1640255345313.png

     

     

  • WarrenBelz Profile Picture
    156,327 Most Valuable Professional on at

    Hi @DPportsmouth ,

    Then the next question that follows is the Default of the controls - they need to get their values from somewhere - what is bulk2pound ?

  • DPportsmouth Profile Picture
    4 on at

    The user inputs a value into the textinput which then stores it as a variable. the text box resets itself and displays the stored variable as text with a custom format.

     

    So if I enter in 2 into the £2 textinput powerapps stores it as a variable and then displays it back at £2.00 

    DPportsmouth_0-1640261864944.png

    then becomes

    DPportsmouth_1-1640261917495.png

     

  • WarrenBelz Profile Picture
    156,327 Most Valuable Professional on at

    Hi @DPportsmouth ,

    I just put a Text box with your code (actually the below), but the same in the Default

    Set(
     bulk2pound,
     Self.Text
    );
    Reset(Self)

    in a test list and it worked perfectly

    FormatText.gif

    It should work - have you tried re-adding the text boxes?

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

     

     

  • WarrenBelz Profile Picture
    156,327 Most Valuable Professional on at

    Hi @DPportsmouth ,

    Just checking if you got the result you were looking for on this thread. Happy to help further if not.

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 392 Most Valuable Professional

#2
11manish Profile Picture

11manish 181 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 112 Super User 2026 Season 2

Last 30 days Overall leaderboard