cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Creating an app that shows daily employee satisfaction with a survey

Hello everyone,

 

So I would like to create an app where employees can vote daily on how they feel (options between very good to very bad). 

On this app there should be something like an emoji too that changes it's moods regarding to what employees feel at the moment.

 

Can I implement something like this?

 

Thank you very much.

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @Anonymous ,

Seems you are missing below step:

v-albai-msft_0-1619056276944.png

Best regards,

Allen

View solution in original post

12 REPLIES 12
v-albai-msft
Community Support
Community Support

Hi @Anonymous,

Do you want to use a emoji to record the mode within your app?

I did a test for you, check if this can achieve your purpose.

1. I have a list with a Text column called “mode”. My app is generated by this list.

v-albai-msft_0-1617937266432.png

2. Go to the app, Within the Edit screen, set the OnVisible property of the screen to following:

UpdateContext({Emoji: Blank()})

v-albai-msft_3-1617937713397.png

3. Unlock the mode DataCard, remove the Original TextInput box from the Data card, then add below three Emoji icons: SadNeutral and Smile.

v-albai-msft_2-1617937571387.png

Set the OnSelect property of the Sad icon to following:

UpdateContext({Emoji: "Sad"})

Set the Color property of the Sad icon to following:

If(Emoji= "Sad",RGBA( 255, 0, 0, 1 ), RGBA(0, 18, 107, 1))

v-albai-msft_4-1617937834130.pngv-albai-msft_5-1617937848622.png

Set the OnSelect property of the Neutral icon to following:

UpdateContext({Emoji: "Neutral"})

Set the Color property of the Neutral icon to following:

If(Emoji= "Neutral",RGBA( 255, 165, 0, 1 ),RGBA(0, 18, 107, 1))

Set the OnSelect property of the Smile icon to following:

UpdateContext({Emoji: "Smile"})

Set the Color property of the Smile icon to following:

If(Emoji= "Smile",RGBA( 154, 205, 50, 1 ),RGBA(0, 18, 107, 1))

4. Set the Update property of the mode DataCard to following:

Emoji

v-albai-msft_6-1617937880980.png

This time, when user do the survey, they can choose a emoji for their mode, and the mode result will be kept as a Text in your DatadSource/Gallery.

1212122.gif

 

Besides, you can also edit the mode DataCard in your DetailedScreen, remove the Original TextInput box from the Data card, and add above three emoji icons, set their Visible property to below formula(each formula for each icon):

If(ThisItem.raiting="Sad",true)
If(ThisItem.raiting="Neutral",true)
If(ThisItem.raiting="Smile",true)

Result like below:

121212.gif

Best regards,

Allen

Anonymous
Not applicable

First of all, thank you very much that you explained everything so detailed that I was able to understand it.

I should have said this maybe in advance but I want to integrate this App into a Teams Channel. So only the users in the Teams Channel should be able to vote on their mood. Is there any other way than creating a list on SharePoint in this case for each user? Sounds a bit like an effort as we have so many people in this Teams Channel. Second of all I wanted to display at the end ONE emoji that should show the general mood of all employees. So if 10 people voted they are veray happy and 10 people voted they are very sad the emoji should have a neutral face. The voting should be done anonymously. So I dont want to see which user selected which emoji (data privacy), I am interested in the overall mood of my employees.

Thank you very much in advance for your help! 

Hi @Anonymous ,

The only thing I can think of is to create a collection to store the results of the votes. Only patch vote results into this collection. 

Then, count this collection with different text(happy, sad), and show different results based on the count number.

What's more, I think you just want to focus on the overall mood of all your employees over a period of time, so you should clear this collection every 24 hours. You can use a Timer control to help you clear collection on time. For example, set the Duration property of the Timer control to(24 hours):

86400000

Set the AutoStart and Repeat property of the Timer control to following:

true

Set the OnTimerEnd property of Timer control to following:

Clear(Collectiontest)

Best regards,

Allen

Anonymous
Not applicable

Hello Allen,

 

That sounds great. But how do I do it now? Would you PLEASEEEE so kind to give me a step-to-step solution like above? That would be incredible.

 

Thank you very much in advance.

 

Best Regards

Emre

Hi @Anonymous ,

I have a new solution that may be better for you. Using a SharePoint list---with only one list item, each time user submit their mode, edit this existing item.  

Here is the detailed steps:

1. Create a new list, add a Text column called “mode”, and three Number columns called “Sad”, “Neutral” and “Smile”. Create a new list item as below(then all submit action will edit this unique item):

v-albai-msft_0-1618563867092.png

2. Add a edit form, with only mode DataCard, add three emoji using steps mentioned in my first reply(Screen: OnVisible= UpdateContext({Emoji: Blank()})).

v-albai-msft_1-1618563867096.png

 

v-albai-msft_2-1618563867099.png

3. Add a button, set it to below:

If(Emoji="Sad",Patch(list9,First(list9),{mode:Emoji,Sad:First(list9).Sad+1}),
Emoji= "Neutral",Patch(list9,First(list9),{mode:Emoji,Neutral:First(list9).Neutral+1}),
Emoji= "Smile",Patch(list9,First(list9),{mode:Emoji,Smile:First(list9).Smile+1})
)

4. Add a Label outside the form, set its Text to:

If(First(list9).Sad>First(list9).Smile,"Sad",
First(list9).Sad=First(list9).Smile,"Neutral",
First(list9).Sad<First(list9).Smile,"Smile")

v-albai-msft_3-1618564065714.png

Note:

If you want to focus on the overall mood of all your employees over a period of time, for example 24 hours, you should reset the value of three Number columns to “0”(item created in step1), no matter manually editing the list item or update this list item using a Timer control.

Best regards,

Allen

Anonymous
Not applicable

Hi Allen,

 

thank you very much. A few questions on your solution, which I was not able to reproduce:

Is the Button added 3 added inside the data card or in the screen? Is the formula to the button added to "OnSelect" ? I added the three emojis but when i run the app they disappear. I see exactly the same window as you but without the emojis.

 

Best Regards 

Hi @Anonymous ,

1. You should add these three button inside the datacard. Remember to change the Update property of mode_DataCard.

2. You should put the formula into OnSelect property and Color property(of course you can only set OnSelect property, and do not set Color property).

Besides, remember to do below action:

v-albai-msft_0-1618907381686.png

Best regards,

Allen

Anonymous
Not applicable

Hello Allen,

 

I did all of that but it still does not work somehow. Please view attachmentimage.png

Hi @Anonymous ,

Seems you are missing below step:

v-albai-msft_0-1619056276944.png

Best regards,

Allen

Helpful resources

Announcements

Hear what's next for the Power Up Program

Hear from Principal Program Manager, Dimpi Gandhi, to discover the latest enhancements to the Microsoft #PowerUpProgram, including a new accelerated video-based curriculum crafted with the expertise of Microsoft MVPs, Rory Neary and Charlie Phipps-Bennett. If you’d like to hear what’s coming next, click the link below to sign up today! https://aka.ms/PowerUp  

Tuesday Tip: Community User Groups

It's time for another TUESDAY TIPS, your weekly connection with the most insightful tips and tricks that empower both newcomers and veterans in the Power Platform Community! Every Tuesday, we bring you a curated selection of the finest advice, distilled from the resources and tools in the Community. Whether you’re a seasoned member or just getting started, Tuesday Tips are the perfect compass guiding you across the dynamic landscape of the Power Platform Community.   As our community family expands each week, we revisit our essential tools, tips, and tricks to ensure you’re well-versed in the community’s pulse. Keep an eye on the News & Announcements for your weekly Tuesday Tips—you never know what you may learn!   Today's Tip: Community User Groups and YOU Being part of, starting, or leading a User Group can have many great benefits for our community members who want to learn, share, and connect with others who are interested in the Microsoft Power Platform and the low-code revolution.   When you are part of a User Group, you discover amazing connections, learn incredible things, and build your skills. Some User Groups work in the virtual space, but many meet in physical locations, meaning you have several options when it comes to building community with people who are learning and growing together!   Some of the benefits of our Community User Groups are: Network with like-minded peers and product experts, and get in front of potential employers and clients.Learn from industry experts and influencers and make your own solutions more successful.Access exclusive community space, resources, tools, and support from Microsoft.Collaborate on projects, share best practices, and empower each other. These are just a few of the reasons why our community members love their User Groups. Don't wait. Get involved with (or maybe even start) a User Group today--just follow the tips below to get started.For current or new User Group leaders, all the information you need is here: User Group Leader Get Started GuideOnce you've kicked off your User Group, find the resources you need:  Community User Group ExperienceHave questions about our Community User Groups? Let us know! We are here to help you!

Super User of the Month | Ahmed Salih

We're thrilled to announce that Ahmed Salih is our Super User of the Month for April 2024. Ahmed has been one of our most active Super Users this year--in fact, he kicked off the year in our Community with this great video reminder of why being a Super User has been so important to him!   Ahmed is the Senior Power Platform Architect at Saint Jude's Children's Research Hospital in Memphis. He's been a Super User for two seasons and is also a Microsoft MVP! He's celebrating his 3rd year being active in the Community--and he's received more than 500 kudos while authoring nearly 300 solutions. Ahmed's contributions to the Super User in Training program has been invaluable, with his most recent session with SUIT highlighting an incredible amount of best practices and tips that have helped him achieve his success.   Ahmed's infectious enthusiasm and boundless energy are a key reason why so many Community members appreciate how he brings his personality--and expertise--to every interaction. With all the solutions he provides, his willingness to help the Community learn more about Power Platform, and his sheer joy in life, we are pleased to celebrate Ahmed and all his contributions! You can find him in the Community and on LinkedIn. Congratulations, Ahmed--thank you for being a SUPER user!  

Tuesday Tip: Getting Started with Private Messages & Macros

Welcome to TUESDAY TIPS, your weekly connection with the most insightful tips and tricks that empower both newcomers and veterans in the Power Platform Community! Every Tuesday, we bring you a curated selection of the finest advice, distilled from the resources and tools in the Community. Whether you’re a seasoned member or just getting started, Tuesday Tips are the perfect compass guiding you across the dynamic landscape of the Power Platform Community.   As our community family expands each week, we revisit our essential tools, tips, and tricks to ensure you’re well-versed in the community’s pulse. Keep an eye on the News & Announcements for your weekly Tuesday Tips—you never know what you may learn!   This Week's Tip: Private Messaging & Macros in Power Apps Community   Do you want to enhance your communication in the Community and streamline your interactions? One of the best ways to do this is to ensure you are using Private Messaging--and the ever-handy macros that are available to you as a Community member!   Our Knowledge Base article about private messaging and macros is the best place to find out more. Check it out today and discover some key tips and tricks when it comes to messages and macros:   Private Messaging: Learn how to enable private messages in your community profile and ensure you’re connected with other community membersMacros Explained: Discover the convenience of macros—prewritten text snippets that save time when posting in forums or sending private messagesCreating Macros: Follow simple steps to create your own macros for efficient communication within the Power Apps CommunityUsage Guide: Understand how to apply macros in posts and private messages, enhancing your interaction with the Community For detailed instructions and more information, visit the full page in your community today:Power Apps: Enabling Private Messaging & How to Use Macros (Power Apps)Power Automate: Enabling Private Messaging & How to Use Macros (Power Automate)  Copilot Studio: Enabling Private Messaging &How to Use Macros (Copilot Studio) Power Pages: Enabling Private Messaging & How to Use Macros (Power Pages)

April 4th Copilot Studio Coffee Chat | Recording Now Available

Did you miss the Copilot Studio Coffee Chat on April 4th? This exciting and informative session with Dewain Robinson and Gary Pretty is now available to watch in our Community Galleries!   This AMA discussed how Copilot Studio is using the conversational AI-powered technology to aid and assist in the building of chatbots. Dewain is a Principal Program Manager with Copilot Studio. Gary is a Principal Program Manager with Copilot Studio and Conversational AI. Both of them had great insights to share with the community and answered some very interesting questions!     As part of our ongoing Coffee Chat AMA series, this engaging session gives the Community the unique opportunity to learn more about the latest Power Platform Copilot plans, where we’ll focus, and gain insight into upcoming features. We’re looking forward to hearing from the community at the next AMA, so hang on to your questions!   Watch the recording in the Gallery today: April 4th Copilot Studio Coffee Chat AMA

Tuesday Tip: Subscriptions & Notifications

TUESDAY TIPS are our way of communicating helpful things we've learned or shared that have helped members of the Community. Whether you're just getting started or you're a seasoned pro, Tuesday Tips will help you know where to go, what to look for, and navigate your way through the ever-growing--and ever-changing--world of the Power Platform Community! We cover basics about the Community, provide a few "insider tips" to make your experience even better, and share best practices gleaned from our most active community members and Super Users.   With so many new Community members joining us each week, we'll also review a few of our "best practices" so you know just "how" the Community works, so make sure to watch the News & Announcements each week for the latest and greatest Tuesday Tips!   This Week: All About Subscriptions & Notifications We don't want you to a miss a thing in the Community! The best way to make sure you know what's going on in the News & Announcements, to blogs you follow, or forums and galleries you're interested in is to subscribe! These subscriptions ensure you receive automated messages about the most recent posts and replies. Even better, there are multiple ways you can subscribe to content and boards in the community! (Please note: if you have created an AAD (Azure Active Directory) account you won't be able to receive e-mail notifications.)   Subscribing to a Category  When you're looking at the entire category, select from the Options drop down and choose Subscribe.     You can then choose to Subscribe to all of the boards or select only the boards you want to receive notifications. When you're satisfied with your choices, click Save.   Subscribing to a Topic You can also subscribe to a single topic by clicking Subscribe from the Options drop down menu, while you are viewing the topic or in the General board overview, respectively.     Subscribing to a Label Find the labels at the bottom left of a post.From a particular post with a label, click on the label to filter by that label. This opens a window containing a list of posts with the label you have selected. Click Subscribe.           Note: You can only subscribe to a label at the board level. If you subscribe to a label named 'Copilot' at board #1, it will not automatically subscribe you to an identically named label at board #2. You will have to subscribe twice, once at each board.   Bookmarks Just like you can subscribe to topics and categories, you can also bookmark topics and boards from the same menus! Simply go to the Topic Options drop down menu to bookmark a topic or the Options drop down to bookmark a board. The difference between subscribing and bookmarking is that subscriptions provide you with notifications, whereas bookmarks provide you a static way of easily accessing your favorite boards from the My subscriptions area.   Managing & Viewing Your Subscriptions & Bookmarks To manage your subscriptions, click on your avatar and select My subscriptions from the drop-down menu.     From the Subscriptions & Notifications tab, you can manage your subscriptions, including your e-mail subscription options, your bookmarks, your notification settings, and your email notification format.     You can see a list of all your subscriptions and bookmarks and choose which ones to delete, either individually or in bulk, by checking multiple boxes.     A Note on Following Friends on Mobile Adding someone as a friend or selecting Follow in the mobile view does not allow you to subscribe to their activity feed. You will merely be able to see your friends’ biography, other personal information, or online status, and send messages more quickly by choosing who to send the message to from a list, as opposed to having to search by username.

Top Solution Authors
Top Kudoed Authors
Users online (4,787)