Functionality

  • Functionality

    Send selected attachments on an email directly from Power Apps

    Have you ever wanted to send only some of the attachments on your record via email to someone? The solution is actually quite straightforward, but requires a bit of trickery not evident in the picture below. The attachment control is a standard item in a form displaying the attachments on a record (I called this one acEmail ) – there are no modifications to it. The check boxes shown however are in a gallery placed “on top” of the attachment control – I called it galAttach here. You may have to adjust the TemplateHeight to get it to “line up” properly with the attachment control.  The Items of this gallery are essentially a copy of the data in the attachment control. Two labels…

  • Dynamic,  Functionality

    Search and autofill in text box based on List values

    We are all used to web searches giving suggestions of possible values you want and Combo Boxes have a Search function, but Text inputs do not have anything built-in for this, so it should be useful to have this function as well. In the example below, the user starts typing and all matching values come up below. At any time they can press Enter and have the first (or only) matching value populate automatically in the Text Box. The process involves only three things – changes to the OnChange and Default of the Text box and a Label below. This example is from a test list I have, but will work on any list subject to size Delegation…

  • Data,  Functionality

    Prevent the use of Special Characters in a Text input

    This process prevents a user from saving a range of Special Characters if entered in a Text Input. This may have other application as well as the Text Box example. A working example is shown below So how does this work? Firstly do a Collection of all special characters (you can do this at Screen OnVisible) by using their ASCII value ranges. This puts 31 Special Characters into the collection under the field FieldNo.Below is a gallery (with wrap at 4) showing the characters Note you may want to allow some such as Underscore _ (95) and will have to adjust the above to suit.Now put this on the OnChange of the Text Box…

  • Functionality

    Opening Attachments from Power Apps instead of needing to download.

    Option 1 – View mode opening In the example below, the Form is started in Edit Mode, showing a normal attachment control, however once it is switched to view mode, a different attachment list appears with an icon at the right that allows direct opening of the attachment with “one click”. If the file can be opened in a browser (images, PDFs) it will do so, otherwise it will download. So what is going on here? Firstly, a small limitation – the “view mode” list is actually a gallery (which cannot be inserted into the form), so is simply placed in the same location as the Attachment Control. Consequently, if the Form is longer…