cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Eugene-CHN
Helper II
Helper II

OnStart Set Variable Issue

Hello, friends,

 

I got customized form based on sharepoint list,

and i would like to set variable in OnStart, it works, for example Set(Test; "Hello")

But is not working if Set(Test; TextInput.Text) 

 

How to fix it?

1 ACCEPTED SOLUTION

Accepted Solutions
RandyHayes
Super User III
Super User III

@Eugene-CHN 

Is there some particular text in the TextInput as the app starts?

If you are deriving a text value in the Textinput control (i.e. its default property) from some place like a datasource or other calculation, then it will most likely not have a value at OnStart.

If you are deriving a value in the Textinput, then consider turning off the "Use non-blocking On-Start rule" in the advanced settings of your app.

 

I hope this is helpful for you.

 

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too!

View solution in original post

3 REPLIES 3
eka24
Super User III
Super User III

The Formula is ok so can give more details on what is not working?

Do you have errors?

Set(Test; TextInput1.Text) ------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

RandyHayes
Super User III
Super User III

@Eugene-CHN 

Is there some particular text in the TextInput as the app starts?

If you are deriving a text value in the Textinput control (i.e. its default property) from some place like a datasource or other calculation, then it will most likely not have a value at OnStart.

If you are deriving a value in the Textinput, then consider turning off the "Use non-blocking On-Start rule" in the advanced settings of your app.

 

I hope this is helpful for you.

 

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too!

View solution in original post

Thanks!

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

Power Apps Community Call

Monthly Power Apps Community Call

Did you miss the call?? Check out the Power Apps Community Call here!

secondImage

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (39,513)