I'm porting an InfoPath form to PowerApps. It's an issue resolution system that's been heavily customized to fit their business. 4 different departments enter their information throughout the workflow which can include text fields that could potentially contain 500 characters. There's 6 of these multi-line text fields.
The InfoPath form did a good job allowing a single view of everything. Each area's controls are hidden until their stage of the workflow, and the text boxes just expend as much as needed. And the InfoPath style just seems to get by with the form getting as tall as needed. For this system that worked great to give everyone a view of the entire issue without leaving the single screen.
With PowerApps I'm having trouble fitting everything - or even half - onto a tablet app where the style tends to be moving between multiple screens to avoid a crowded look. I'm asking for feedback on the following:
Thanks for any thoughts you may have,
Nate
I would say if you have a working infopath form that looks exactly like you are comfortable with it looking, recreating this in powerapps should not be an issue. You can customize text box sizes and have it try to adjust on its own to the amount of text in a box (i dont always love those results) or what i do and write formulas for length and width of the vontrol based on the Len() / character count in that control. You then set othef controls below its xy coordinates based on the preceeding co trol so they adjust their position as the one above them.grows or shrinks. And if you want it to be slightly diff width / font sizes per device etc set those values based on app.width app.height etc
Hi @NateJ ,
If you are looking for some broad guidance, consider the following
The Visible of a data card can be dynamic - I often have Variable driven "slide up/down" rows of cards with a header for the section with up/down icons
The Height of a Text box can also be dynamic - this is not an exact science unless you are using a Proportional Font such as Courier, however as an example if you wanted a Height of 30 pixels per row and the average characters per row was 40, the Height of the Text control would be
If(
Len(Self.Text) < 40 || Len(Self.Text) = 0,
30,
RoundUp(
Len(Self.Text) / 40,
0
) * 30
)
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
User | Count |
---|---|
250 | |
105 | |
82 | |
51 | |
43 |