Skip to main content
Community site session details

Community site session details

Session Id : 9pfqFgwjII7g5Q/yUpPQMa
Power Apps - Power Apps Governance and Administ...
Unanswered

Onboarding Template Setup Trouble

Like (0) ShareShare
ReportReport
Posted on 25 Feb 2019 16:47:02 by

Hello, I've tried setting up the onboarding template, however I don't see any opportunity (or documentation) to assign an Excel file in which to save the data for the app. Therefore, once I install and publish it, it looks great! Even embeds into Microsoft Teams, which is what I'm trying to do--however, whenever I make changes (like Company Name) it always reverts back to the default.

 

Am I missing a step during installation? Is there better documentation somewhere?

 

Appreciate your help!

  • Iotron Industries Profile Picture
    2 on 22 Sep 2019 at 04:04:43
    Re: Onboarding Template Setup Trouble

    Hi Everyone,

     

    I just want to say you were godsend with this issue, and it's working for me! I followed all your advice, and was able to get it to update from the spreadsheet. I have something to add that I think you all will find very helpful.

     

    I was able to get the app to save to the Excel back-end by adding the following code to every "Save" button:

     

    Where there is the "Patch()" function, I changed the Source to the "OneDrive" source rather than the Collection.

    I then removed the "Back()" function, and added a Concurrent() function (as is in the "App" tab) after the function, and put the "Back()" function in it.

     

    Presto! It's now saving the updates in the spreadsheet and the app pages are updating, because the app is also updating the Collection and saving the Collection to the spreadsheet.

     

    I hope you find this useful!

  • Elia Profile Picture
    61 on 25 Jul 2019 at 08:35:43
    Re: Onboarding Template Setup Trouble

    Maybe this is considered a new topic, but in case you have dealt with before.

    I have created a section for the users to fill in some texts to be publish on their social media introduction. I would like those texts to be saved into the "database" excel file too, but stored always under just one row. I mean, that if they edit the text a second time, this will replace the original text, and so on. Rather than generating a new entry on the table. Does it have sense? So far, the excel only keeps data to update the app content, but I would like it to keep also the entries filled in by the app users (some sort of form), so that the HR responsible can see the user responses and use the content from the excel file.

     

    Does it have sense? Is this a complex tasks to achieve? Couldn't find any post in this regards. It is only for exporting data, but cannot see how to do, so that there is a unique row per user that updates when the user updates via dthe app too.

  • Elia Profile Picture
    61 on 25 Jul 2019 at 08:28:03
    Re: Onboarding Template Setup Trouble

    Hi,

    Thanks a lot for the support. This is taking too long time, really appreciated.

     

    In Azure I had to fill in the profiles of the users, as when they do not have a manager assigned, an error occurs.

     

    Also, I was trying to give globlal permission to the "Tasks" connector.

    I have those connections you show me in your previous response. For me it worked when opening the app, and gave me the chance to sign in to give permissions straight away, but for my users it does not. Reason why I tried to force it via Azure Enterprise apps. But it does not show the connector in there, therefore they keep not having the Tasks connection active, and the app cannot create the list of tasks in their outlook.

     

    In regards to retrieving data from the excel file, if the file was stored in Sharepoint it won't be a problem. But connections to sharepoint are limited to tables, and I would like to connect the app to the excel file. This means, that I have to do it via OneDrive (correct me if I am wrong). Problem with OneDrive for bussiness is that it is a user account. I will need to share one by one people on my organization to have access to the file, and it will be very annoying to do it every time a new colleague gets onboard. I can see, lot's of people are having this issue (Post here). How did you share it across the entire company using OneDrive? Or did you store it differently?

     

    I can share it to all existing users in the organization, but then, do I need to remember to invite the new ones, one by one? Cannot be the right way.

     

    Capture3.JPG

  • Sveeramachaneni Profile Picture
    12 on 25 Jul 2019 at 00:19:17
    Re: Onboarding Template Setup Trouble

    Hi @Elia,

     

    Don't give up! I think you're really close. Make sure the 3 below Data Sources are added as they are very important.

     

    After adding them, save and close the app and relaunch. It should work then.

     

    Spoiler (Highlight to read)
    Data Sources to add.png

     

    I removed any and all ways for users to edit the app using the app itself. Any changes are made using the backend Excel sheet (which I call the "database" to my admin users that actually fill out the various tasks.)

     

    You shouldn't need to edit anything in Azure AD. Let me know if adding the 3 sources still doesn't work and we can troubleshoot deeper.

  • Elia Profile Picture
    61 on 24 Jul 2019 at 23:26:31
    Re: Onboarding Template Setup Trouble

    Hi, 
    Thank you very much for taking the time and be so precise with your answers. Reading back, I can see the process was much simplier and i was drowing in an ocean of questions because of lacking the excel file.

     

    I repeated the proces again, creating an app of my own using the template as origin. This time, it worked! The excel is saved in the folder.
    Because I had done quite a few hours of formating on my original app, I moved the file to our company directory, created new connections via OneDrive on my original app, selecting the excel file I created in the second try.
    Then, I followed your steps to change the app code replacing the strings by Administrator_1 etc.. It worked!

    I had to remove all those Bing and Weather webpage links, which I also noticed. And had to fix plenty of errors in the formulas that appeared for some reason. If I edit the app the changes on the text won't save in the excel file, so i am editing all texts in the file, and formating from the app.

     

    Important, if someone also wonders: If you need to create new lines, since from the app they won't save back into the excel file, I just create new lines in the tables in the excel file, add my texts and links, and live in blank the "app ID" column. When opening the app, it retrieves the info from the excel file, and assign automatically its own codes into the excel file.

    Also, I struggle with a recurrent error. Something about the manager and the user.Id, and also about photometadata. Well, i solved them as follows:

    1. Manager (Manager: THe method 'Manager' has an invalid value for parameter 'userId') : I had to log in with Admin account into Azure AD, and followed this post to Add info about the managers for each person in the directory. If the info is Blank, it will give you errors.
      Relevant post 1
      Relevant post 2 (update user profile info in Azure)

    2. Photometadata (UserPhotoMetadata(ThisItem.Id) UserPhotoV2 error): Had to replace all Photo, by PhotoV2. While the photos appeared correctly, the error kept poping up, so I just opted to change it.
      Fro example: 
      ThisItem.UserPhoto, Office365Users.UserPhotoMetadata(ThisItem.Id).HasPhoto, Office365Users.UserPhotoV2(ThisItem.Id)

    @Sveeramachaneni , have you with test it already with your endusers? I have, and what happens is that they do not get the option to grant permission to the "Tasks" connector, therefore, they do not get the list of tasks or the progress moving. I have tried to give access through Azure AD, following this other posts instructions, but I do not get that app with the code ID they give ( app ID 99da6bf4-4525-4bfa-b39f-b6a35789c240 you are suposed to find OutlookTasksConnector-PowerApps and Flow, but instead I only find a different one: "PowerApps and Flow").
    And I cannot give it User consent for the entire organization. 

    I am not IT, so this is getting very complicated. It was supposed to be an easy peasy task, take the template, change the text, and go. Oh my....

     

  • Sveeramachaneni Profile Picture
    12 on 24 Jul 2019 at 16:15:09
    Re: Onboarding Template Setup Trouble

    @ryanalbert99 @Elia 

     

    That's weird! The Excel sheet should be saved in your OneDrive for Business folder for the account you are using when you first click "Make my own app" button on the banner when opening the On Boarding Template.

     

    The default location is usually "Files > PowerApps > Templates" and there will be a folder called "OnboardingTasks_[Unique ID]":

     

    Default Excel Sheet location.png

  • Sveeramachaneni Profile Picture
    12 on 24 Jul 2019 at 16:03:37
    Re: Onboarding Template Setup Trouble

    Hi @Elia and @ryanalbert99 ,

     

    That's strange that no file is created. I've re-created the template and downloaded the default Excel sheet that should have been created. Go ahead and download it from this comment and upload it to your OneDrive for Business. You should then be able to add it as a Data Source successfully.

     

    NOTE: For some God awful reason, there are hidden Hyperlinks in a LOT of the sheets that take you to the National Weather website. You'll have to delete many rows of hidden nonsense data.

     

    To answer your first question, the "Administrators_1" and similar are the headers from the Excel file, so once you've successfully added the Excel sheet as a Data source you will be able to edit them as I have described above.

     

    And for your second question, after uploading the attached template file and connecting it following the steps in the previous message I posted, you will be able to edit the "FAQ" header in the Excel sheet at anytime and it will update the app.

     

    Your data sources screen should look something like this once done:

    Spoiler (Highlight to read)
    Data Sources.png

    Let me know if you still have any issues or other questions!

     

  • ryanalbert99 Profile Picture
    2 on 23 Jul 2019 at 19:30:02
    Re: Onboarding Template Setup Trouble

    Yes I had the same issue. Any changes I wanted the app to save I had to make the changes by selecting app and editing the code in the function section. I have yet to find the excel spreadsheet to the app. The only spreadsheet that shows up is when you create your own version of the app.

  • Elia Profile Picture
    61 on 23 Jul 2019 at 14:02:19
    Re: Onboarding Template Setup Trouble

    I think, my main issue is that the app does NOT save any excel file. I did connect it to OneDrive for Bussiness at the beggining, when the option pop up in the top. But when I try to find the excel file, it is nowhere.... Has anybody had this same issue?

  • Elia Profile Picture
    61 on 23 Jul 2019 at 12:54:23
    Re: Onboarding Template Setup Trouble

    Hi!
    @Sveeramachaneni ;  What a luck that you responded to this issue just yesterday, as I started with powerapps for the very first time today, and I was facing this issue too...

    I am really new on this, therefore, I think I am getting lost with your explanation...

    I can see, you have substitute the "strings" by something else. But then, where do you create those to assign them to their right sections, and fill them with the text information?
    (sorry if this sounds basic, I just started 😞 )

    So, for example, currently we have the following:

    ClearCollect(Team, {Name: "Marketing Team"})

    You replace the code by:

    ClearCollect(Team, Team_1)

    Where have you created a variable called: Team_1, to assign it with your specific information?
    And furthermore, when the String contains multiple data, like for example:

    ClearCollect(FAQs, 
    {Question: "Lorem ipsum dolor sit amet consectetur adipiscing elit, sed do?", Answer: "Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum"} )

    How do you insert all that info (Question; Anwer) in the variable?

    Thank you very much!!!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410 Super User 2025 Season 2

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 2

Featured topics

Loading complete