Forum Discussion

Jesse Fyfe's avatar
Jesse Fyfe
Copper Contributor
Jan 08, 2019

Only display populated fields in an email

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

  • Rob Ellis's avatar
    Rob Ellis
    Bronze Contributor
    Are you using an approval action, or the send an email action?
  • Eva Vogel's avatar
    Eva Vogel
    Steel Contributor
    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.

Resources