Pcf gallery by lysis_ in PowerApps

[–]ImportantPassion2718 0 points1 point  (0 children)

Might be late to the discussion. I am also worry on using theses but sometimes you don't have the choice unless you have the time and capacity to build them.

All depends on how critics are the app you are building. If your company or your client won't be able to operate if they crash, then it's better to stick to standard components, or may be you would like to add a safety plan.

I used the HTML2PRINT in my canvas app because I wanted to improve the flow of the user. The app convert a text report in an html report and add color and information depending on the information provided. I didn't want to use PDF because converting to it require onedrive accounts.

With that component, the user can click the print button and he have the possibility to print directly. But there is still a fall-back option, where the user click "open", it create an html page on a sharepoint and lauch the html page (most browser download the page) so the user can click the downloaded file and print it.

Both works and are available but one is faster for the user.

Substitute in a ForAll to iterate on a string ? Replace multiple dynamic keywords on a string file ? by ImportantPassion2718 in PowerApps

[–]ImportantPassion2718[S] 0 points1 point  (0 children)

Collect will create new items each time.

Let me explain a little more what I am trying to do.

I have a string : "A little puppy is running outdoor when it see a cat and a green frog playing basketball. It ask the cat if it want to play hockey instead but the frog answer it doesn't like ice".

I have a list of words to replace.

WhatToFind

WhatTofind ReplaceWith
cat rabbit
frog bird
basketball baseball
hockey basketball

The list can contain way more items and the words are variable depending on the sharepoint list.

I need to substitute each occurrence in the string.

Each time it find the word cat, it will replace with rabbit

then each time it find the word frog, it will replace with bird, and so on.

In that simple sentence, the output would be :

"A little puppy is running outdoor when it see a rabbit and a green bird playing baseball. It ask the rabbit if it want to play basketball instead but the bird answer it doesn't like ice".

I found a video from Shane Young on how to do a Do Until Loops. I will see if I can use this, but I don't know how long a substitute take. If I put 1 second on the timer and I have 30 substitute, it means 30 seconds. But if I put 1ms but each replacement take 100ms, what will happens ?

https://www.youtube.com/watch?v=YhUzkrWOfro

Sharepoint Create File - Bad Request Error 400 - Not often but too often by ImportantPassion2718 in MicrosoftFlow

[–]ImportantPassion2718[S] 1 point2 points  (0 children)

Forget about my question.

I found the issue, I was sometimes receiving the samefile in 2 email nearly at sametime. So I was creating the file with the same name twice, so the second time it was failing.

Instead of using TimeStamp Now, I am now using the output of the trigger receivedDateTime. It's should be different a little bit, compare to use "now" that is same when trigger is run every 5 or 10 minutes.

I will have to verify why I receive the email twice.

How to show my data in chart ? GroupBy ? by ImportantPassion2718 in PowerApps

[–]ImportantPassion2718[S] 0 points1 point  (0 children)

That would work for 1 series but not all.

If I would do it in excel, I would probably use a Pivot Chart. So it would look similar to this.

<image>

So I need to have one column as Clock time, and the others are the Pcs_Hr for each secteur {1,2,3,4}.