cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Responsive Resident
Responsive Resident

Adding text to field in Dynamics

Hi,

I am looking to add comments to a text field in Dynamics using PowerApps. I have the addition of new text working, but I want to format it a specific way.

I want the new text to be added a row lower than any text currently in the box, and to be prefaced with the date added, and a title.

I also do not want the field in PowerApps to show any of the existing text when the user is inputting the additional details.

Is there anyone who can help me with this?

Thanks

Matty H

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Responsive Resident
Responsive Resident

Re: Adding text to field in Dynamics

After much fiddling and testing, I have managed to populate the field with what I need by referencing other DataCardValue boxes, and by using the Char(10) line break insertion option.

 

Matty.

View solution in original post

4 REPLIES 4
Highlighted
Community Support
Community Support

Re: Adding text to field in Dynamics

Hi @MattyH ,

Could you tell me what app that you are using? canvas app or model driven app?

1)Do you want to format the text that you filled in to update?

Could you show me the formula that you use to update data?

To change the text value and  with the date added, and a title, you could try this formula:

{fieldname: Concatenate(Text(Value(Textinput name.Text)-1,
                        Text(DateValue(Text(Today()))),
                        "title that you want")}

2)Could you show me the settings of the textinput that shows the existing text?

 

 

 

Best regards,

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Responsive Resident
Responsive Resident

Re: Adding text to field in Dynamics

Hi @v-yutliu-msft ,

 

It is a Canvas App.

 

I have existing information, in what is effectively a free text Notes Box.

 

The form to submit the new text is specific to one animal, chosen from a gallery on a previous screen, the formula in Item on the form is  ‘My Gallery’.Selected

 

The form, once completed is updated using a standard SubmitForm formula with the addition of a ResetForm and a screen navigation as well; SubmitForm('NC Form');ResetForm('NC Form');Navigate('Barn Animals Screen',ScreenTransition.None)

 

Matty H

Highlighted
Responsive Resident
Responsive Resident

Re: Adding text to field in Dynamics

EDIT

I now have another app which requires the same solution.  I have tried the suggestion from @v-yutliu-msft , but it did not work.

 

Any other ideas?

 

I have now gone about this in an entirely different way, following a change in the requirements for the Canvas app. Thanks for the suggestions.

 

 

Highlighted
Responsive Resident
Responsive Resident

Re: Adding text to field in Dynamics

After much fiddling and testing, I have managed to populate the field with what I need by referencing other DataCardValue boxes, and by using the Char(10) line break insertion option.

 

Matty.

View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Find your favorite faces from the community presenting at the Power Platform Community Conference!

Watch Now

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 designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (5,655)