Only display populated fields in an email

%3CLINGO-SUB%20id%3D%22lingo-sub-311179%22%20slang%3D%22en-US%22%3EOnly%20display%20populated%20fields%20in%20an%20email%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-311179%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20have%20an%20access%20request%20form%20with%20several%20different%20fields%20(e.g.%20shared%20mailbox%2C%20application%2C%20restricted%20folder%20etc.)%20and%20I'm%20looking%20for%20a%20way%20to%20only%20include%20the%20populated%20fields%20with%20the%20associated%20heading%20(e.g.%20%22-Shared%20Mailbox%3A%20%22)%20in%20the%20approval%20email%20to%20the%20manager.%20E.g.%20if%20the%20person%20requests%20access%20to%20a%20shared%20mailbox%20and%20a%20restricted%20folder%20but%20no%20applications%20then%20the%20approval%20email%20will%20display%20something%20like%20the%20below%20only%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EShared%20Mailbox%3A%20AP%3C%2FP%3E%3CP%3ERestricted%20Folder%3A%20AP%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20ideas%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%2C%3C%2FP%3E%3CP%3EJesse%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-311179%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMicrosoft%20Flow%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-312884%22%20slang%3D%22en-US%22%3ERe%3A%20Only%20display%20populated%20fields%20in%20an%20email%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-312884%22%20slang%3D%22en-US%22%3EHi!%20I%20guess%20you%20could%20work%20with%20Outlook%20as%20a%20Source%20in%20a%20Flow%20or%20if%20its%20in%20SharePoint%20you%20can%20use%20different%20content%20types%20to%20show%20only%20populated%20fields%20und%20different%20views%20for%20the%20content%20types%20in%20a%20PowerApp.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-312742%22%20slang%3D%22en-US%22%3ERe%3A%20Only%20display%20populated%20fields%20in%20an%20email%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-312742%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Rob%2C%3C%2FP%3E%3CP%3EIm%20using%20the%20Approval%20action%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-312252%22%20slang%3D%22en-US%22%3ERe%3A%20Only%20display%20populated%20fields%20in%20an%20email%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-312252%22%20slang%3D%22en-US%22%3EAre%20you%20using%20an%20approval%20action%2C%20or%20the%20send%20an%20email%20action%3F%3C%2FLINGO-BODY%3E
New Contributor

Hi,

 

We have an access request form with several different fields (e.g. shared mailbox, application, restricted folder etc.) and I'm looking for a way to only include the populated fields with the associated heading (e.g. "-Shared Mailbox: ") in the approval email to the manager. E.g. if the person requests access to a shared mailbox and a restricted folder but no applications then the approval email will display something like the below only:

 

Shared Mailbox: AP

Restricted Folder: AP

 

Any ideas?

 

Thanks,

Jesse

3 Replies
Are you using an approval action, or the send an email action?

Hi Rob,

Im using the Approval action

Hi! I guess you could work with Outlook as a Source in a Flow or if its in SharePoint you can use different content types to show only populated fields und different views for the content types in a PowerApp.