Power Apps Dynamic Text Strings | Documents | Prompts | Paragraphs

Поделиться
HTML-код
  • Опубликовано: 11 июл 2024
  • In this video, I'm going to show you a cool trick with Power Apps. Imagine you need to create paragraphs of text, like in documents or emails, and you want to make it super easy to customize them dynamically. Well, I'll teach you how to do just that! We'll use placeholders in a special way to make text boxes appear exactly where we want them, and then we'll make them automatically fill in with the right information. This can be handy for lots of things, like making your prompts for GPT or adding dynamic content to your documents. I'll guide you through each step. If you are looking to populate documents with dynamic content via Power Automate, you may also want to check out my previous video included below.
    00:00 Intro
    00:40 Exploring the sample solution
    04:27 How to generate dynamic parameters
    06:45 How to replace dynamic text
    11:38 Building the solution from scratch
    13:11 Create a dynamic gallery of input parameters
    16:20 Replace strings dynamically with expressions
    21:04 Testing out our build with dynamic values
    #PowerApps #DynamicDocuments #DynamicContent
    Learn how to dynamically populate a word document from Microsoft Forms using Power Automate: • Create Dynamic Word Do...
    Please buy me a coffee www.buymeacoffee.com/DamoBird365 ☕
  • НаукаНаука

Комментарии • 18

  • @chouyueh89
    @chouyueh89 4 месяца назад +1

    So smart, i was building the same thing 2 weeks back, had the exact same set up but i used substitute to replace the key words with real values. This is going to transform my app!! thanks!

    • @DamoBird365
      @DamoBird365  4 месяца назад +1

      Nice one. The benefit of this demo being the substitution on the number of fields is dynamic? I realised during build, nested substitutions would be a pain and fixed number. Meaning the expression would need updated. Let me know how you get on.

  • @geralddahl9159
    @geralddahl9159 4 месяца назад +1

    Nice to see you using Power Apps - elegant as always. More power to you!

  • @AssassinUK
    @AssassinUK 4 месяца назад +1

    Now a prompt library using OpenAI Assistants with every user logging their own conversations using saved chat ID's outputting JSON which is used to populate SharePoint/Dataverse/SQL/etc using this method would be great!

    • @DamoBird365
      @DamoBird365  4 месяца назад

      Hi Simeon. Yeah I love it 😍 great idea 💡 have you seen my video dropped today? Mistral Large LLM in Azure. Very exciting.

  • @jamesclark2020
    @jamesclark2020 4 месяца назад +1

    Yes definitely gave me inspiration as always. Thank you Damien.

  • @inspectorlife85
    @inspectorlife85 4 месяца назад +1

    Nice demo🎉!

  •  4 месяца назад +1

    ❤ Great use case for Coalesce() Well done Damien! 👍Thanks for posting that!

    • @DamoBird365
      @DamoBird365  4 месяца назад

      I'm now thinking that the coalesce could be combined with three sources. Text input, standard values from a taxonomy and then the other strings. Placeholders like user / email could be inserted into these strings automatically using this method and coalesce.

  • @Argentinian
    @Argentinian 4 месяца назад +1

    He is the best!

  • @GeorgeDoubinski
    @GeorgeDoubinski 4 месяца назад +1

    Any reason for not using string interpolation?

    • @DamoBird365
      @DamoBird365  4 месяца назад

      I'm curious, you'll have to explain your thinking as I only believe this would be useful on the return lines when joining the paragraphs but as the rest of the document is dynamic, including the text inputs, I don't understand where else? If I pass a string with interpolation inserted, it won't evaluate as it is already a string. The interpolation needs to be part of a fixed expression? But I am interested if there is an alternative as I learn too 👍
      As an example, if I insert $"Hello {User().FullName}. The current date is {Today()}." into SharePoint List and pull it through in the PowerApp, it returns $"Hello {User().FullName}. The current date is {Today()}." If I insert the same expression in a Text Label, I get Hello DamoBird365. The current date is 19/02/2024. Let me know what you are thinking?

  • @JenMayB
    @JenMayB Месяц назад

    Hi / your vid is not letting me watch at a faster speed. Was that a setting on your end?

    • @DamoBird365
      @DamoBird365  Месяц назад +1

      Nothing I’ve done 😱 is it simply not an option?

    • @JenMayB
      @JenMayB Месяц назад +1

      Thank you! It’s a bug on my app. I emailed youtube. Sorry abt that!

    • @DamoBird365
      @DamoBird365  Месяц назад

      @@JenMayB not a problem 👍

  • @Coastalgafiretrn
    @Coastalgafiretrn 4 месяца назад +1

    Can you use columns in a sharepoint list .?

    • @DamoBird365
      @DamoBird365  4 месяца назад

      You certainly could 👍 what’s your use case?