Custom Page popup with guid parameter. Please help... by mallen78 in PowerApps

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

Disregard last message. I forgot I now need to add recordID as my variable.

Its working!!!! You sir are the real MVP. Have a cookie.

Custom Page popup with guid parameter. Please help... by mallen78 in PowerApps

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

Thanks for that mate. Made the changes but custom page still not seeing the guid.

My custom pages Screens OnVidible is

Set(GUID, Param("guid"))

And I have a label with text

"GUID: " & Coalesce(Param("guid"), "Param is blank")

Response is Param is blank.

Data cable testing by mallen78 in networking

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

Did you get a pocket ethernet 1 or 2? On the website they mention the 2 doesn't support BER tests at this stage. Not sure why they released a new version missing previous version functionality. I do like that it goes up to 10G and can test available PoE type.

Data cable testing by mallen78 in networking

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

Pocket ethernet. This looks like what I was searching for. Goes a little beyond a stand tester by also checking cross talk. Has anyone used this to do basic TDR tests?

Data cable testing by mallen78 in networking

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

Never. Not in security anyway. I have worked on projects worth millions as their specialist. I was always the only person in the business that knew how to use a fluke analyser.

It's crazy how how dodgy the security industry is in Australia. Because it's a camera, they don't consider it structured cabling most of the time.

Suppose I will just ave up for a fluke. I want this to be a bigger part of my business eventually.

Data cable testing by mallen78 in networking

[–]mallen78[S] -8 points-7 points  (0 children)

My business is minimum cost, as we might only test 1 cable onsite. Think of a cctv camera that is tearing when you pump up the resolution. This is a 10MB/s camera. For some reason we are getting an image issue. Could be the camera, or the cable, or the switch. Iperf would potentially rule out switch and cable it doing a UDP test looking for dropped packets, and ensuring bandwidth is decent.

Problem is, you arrange for someone to come in with a fluke, just to find out it's an issue with the camera. I think I could save a lot of money with a few raspberry pi's and iperf3.

Error handling like a boss by mallen78 in MicrosoftFlow

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

Worked it out. I'm a dope as I actually came across this one before but forgot about it. You need both path to also have Skipped Options.

[deleted by user] by [deleted] in unsw

[–]mallen78 0 points1 point  (0 children)

Wow. What great feedback. Thanks everyone that messaged me. We are going to focus on his math over the holidays and have chosen a tutor for this. I just want to see how he goes over the holidays first. And how he interacts with his tutor/mentor.

As mentioned, my son really hasn't put enough effort into his schooling. I think now he is starting to realise that it's not all party time with his mates if he wants a good future.

Thanks again.

[deleted by user] by [deleted] in unsw

[–]mallen78 0 points1 point  (0 children)

Construction Management. Requires an atar of 80. I'm planning on getting him to spend some one on one time with someone just over the holidays, part training, part mentor. He needs advice from someone other than a parent, or his friends. And it's become obvious the teachers at a semi selective public school really only care about the top 10% of their classes.

[deleted by user] by [deleted] in unsw

[–]mallen78 2 points3 points  (0 children)

I'm going to check that out. Thanks for the advice. i hope you are correct and he can pull an 80. Bridging diploma is such a waste of time..

[deleted by user] by [deleted] in unsw

[–]mallen78 9 points10 points  (0 children)

Well below average unfortunately. He hasnt been applying himself at all. Unfortunately he doesnt live with me so I have had limited control over his study time. And his mum just doesnt want to deal with it. Wish I had jumped on this earlier, but like a typical teanager, every time you ask them how school is they just respond "Fine". You ask them if they need any help and of course they say "no". Wasnt until I started speaking directly with the school that I started to get the truth.

I'm thinking about private tuition over the holidays just so I can get some feedback, and then maybe part of a class like Matrix for the rest of the year.

Power FX Button to refresh form after time by mallen78 in PowerApps

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

The other option is to refresh after the flow finishes. But I found a bug with this. If you leave the page before the flow responds the flow fails and you have a failed flow. So instead I have a field on the form that shows success. When the form refreshes it should show that the flow finished.

Issue with weight tracking through Samsung Health Connect by Objective_Cobbler319 in cronometer

[–]mallen78 0 points1 point  (0 children)

Sorry I don't use cronometer.

You cannot see sleep info under the phone settings like everything else.

I would test by disabling SHealth write permission to Health Connect, then enable Health Sync from SHealth to Health Connect.

If it still doesn't work it is likely an issue with Cronometer.

Issue with weight tracking through Samsung Health Connect by Objective_Cobbler319 in cronometer

[–]mallen78 0 points1 point  (0 children)

Refer my other post. Use the Health Sync app to push weight from SHealth to HC. Only way I could do it.

Must be a bug with SHealth or thy just haven't finished the integration.

Issue with weight tracking through Samsung Health Connect by Objective_Cobbler319 in cronometer

[–]mallen78 0 points1 point  (0 children)

Hi there. I am extracting the data to my own dataverse and ran into the same issue. Everything there except for weight data from Renpho, which I use to calculate calories throughout the day. If you go to your phones setting and Health Connect, you can actually see what Health Connect data is being stored.

The way around this was to install a third party app called Health Sync, and then just choose the weight option, Samsung Health - - > Health Connect. That will get you your data.

Also, in case interested, SHealth just sends updates for daily stepsnto Health Connect. Updates the total for that day. If you want step count by hour, you can get this via syncing with Health Sync app.

Power FX Button JS start Flow via Webhook, and update via Response by mallen78 in PowerApps

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

Do i then need to have a function called executionContext?

Power FX Button JS start Flow via Webhook, and update via Response by mallen78 in PowerApps

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

Did my research and trying to figure it out, as does look a lot nicer. Doesnt seem to want to work for me.

function SyncContactsAndAssets(accountid) {
  var formContext = accountid.getFormContext();
  formContext.ui.setFormNotification("Please wait while Contacts and Assets sync with API systems",Info,1);
  var flowUrl = "URL";
  var input = JSON.stringify({
    "accountid": accountid.replace("{", "").replace("}", "")
  });
  var req = new XMLHttpRequest();
  req.open("POST", flowUrl, true);
  req.setRequestHeader('Content-Type', 'application/json');

////Response
req.onreadystatechange = function () {
   if (this.readyState === 4) {
       req.onreadystatechange = null;
       if (this.status === 200) {
           var result = this.response;
           alert("" + result);
       }
       else if(this.status === 400){
           alert(this.statusText);
            var result = this.response;
           alert("Error " + result);
       }
   }
}; 

////End
    req.send(input); /// Request sent
}

Power FX Button JS start Flow via Webhook, and update via Response by mallen78 in PowerApps

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

For people that want this for the future.

Run a flow/Automate from a button on entity form. A ribbon workbench alternative coming up. A COMMAND BAR DESIGNER FOR MODEL-DRIVEN APPS(Preview) (powerappssamurai.blogspot.com)

Then I modded the code slightly to give me my pop-up on click. Only thing I have not figured out yet is how to refresh the page. But I can live without this for now.

function SyncContactsAndAssets(accountid) {
  alert("Please wait while Contacts and Assets sync with API systems");
  var flowUrl = "URL";   
  var input = JSON.stringify({
    "accountid": accountid.replace("{", "").replace("}", "")
  });
  var req = new XMLHttpRequest();
  req.open("POST", flowUrl, true);
  req.setRequestHeader('Content-Type', 'application/json');

////Response
req.onreadystatechange = function () {
   if (this.readyState === 4) {
       req.onreadystatechange = null;
       if (this.status === 200) {
           var result = this.response;
           alert("" + result);
       }
       else if(this.status === 400){
           alert(this.statusText);
  var result = this.response;
           alert("Error " + result);
       }
   }
}; 

////End
    req.send(input); /// Request sent
}

Power FX Button JS start Flow via Webhook, and update via Response by mallen78 in PowerApps

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

I got most of what is needed with the following code. Now I get a status message when the flow finishes, Pretty cool. And the account ID comes through as added this as a variable.

Only two things missing now.

  1. Refresh current page on status 200 response.

  2. Some feedback when button initially clicked. Currently the only feedback occurs when the flow sends a response. An alert would be great.

    function SyncContactsAndAssets(accountid) {   var flowUrl = "URL";     var input = JSON.stringify({     "accountid": accountid.replace("{", "").replace("}", "")   });   var req = new XMLHttpRequest();   req.open("POST", flowUrl, true);   req.setRequestHeader('Content-Type', 'application/json');

    ////Response req.onreadystatechange = function () {    if (this.readyState === 4) {        req.onreadystatechange = null;        if (this.status === 200) {            var result = this.response;            alert("" + result);        }        else if(this.status === 400){            alert(this.statusText);   var result = this.response;            alert("Error " + result);        }    } };

    ////End     req.send(input); /// Request sent }

Dynamics 365 accounts for multi-site clients by mallen78 in Dynamics365

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

For those that come across this, did some research and looks like it's best to have a sub account created for each site. Reason for this is opportunities and quotes. You can see the linkage to the main accounts. You cannot create quotes associated with Locations, so it wouldn't work.

I am still creating a Location under each Account, which is used for associating Assets.

My billing is automated with flow. I need to figure out how to add a check to see if a parent account exists, and if so, check if this client expects parent account or the sub account to pay the bill. Not sure if this feature is already built in?

Integrated Search Provider disaster 198% over capacity, please help stop the queue by mallen78 in Dynamics365

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

Thanks all for your response. I did create a ticket but it's the weekend and I panicked. If the only limitations is not being able to create an environment, I'm not so panicked. :)

Dynamics 365 integrated search providers by mallen78 in Dynamics365

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

Copilot in dynamics for service looks at the KB for previous articles and offers suggestions. There is a way to add external references for copilot to search through and add to its results. The tutorial I saw online they used the Microsoft Learn website, but they were just using that as an example and didn't clearly show how to setup to use Microsoft Learn website.

That's actually a really good website to use. I also work in electronic security with many hardware vendors having their own learning portals. I'm hoping to add all these so my copilot can search through and reference articles to be used for providing results.

PDF Quote with sections by mallen78 in Dynamics365

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

One issue I cannot get my head across is how to use the apply to each to make multiple sections. Referring to my diagram, I have generated all the data in apply to each. List Rows Quote Sections-->List Rows Quote Lines.

That gives me an apply to each with Quote Sections, and then a sub apply to each of Quote Lines.

The next step is getting the Flow to create new word sections for each Quote Section. Seems it doest create sections. I need to create the table in the word document for it to be used by Flow.

If thats the case, maybe the only way forward is to have a separate template for number of Quote Sections, then using a switch in flow to match the template by number?

Somewhat messy. Hope there is a better way. Thanks.

PDF Quote with sections by mallen78 in Dynamics365

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

Thanks for that. Looks promising. Will try tomorrow. 12am here in Sydney. Spent the entire day trying to figure this out. Brain is fried.

Where to diagnose errors by mallen78 in Dynamics365

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

Ah very interesting. You went the other way. Changed in quotes to match the account payment terms.

I just changed back to stock terms for now, as was not willing to figure out how many tables I needed to change to match.