I updated the name + icon of my Bot Framework Bot. In Teams I don't see a way to get it updated.. I remember having to remove some cache folders in program files manually but wonder whether there's an easier way (+ bot in Teams from Web has little to do with my local cach and also that one doesnt refresh).
How do I refresh my bot name + icon in Teams deskop + web?
Unfortunately, MS Teams does not provide an easy way to 'refresh' a bot icon, but it is doable. The first thing is to realize that there are two sources for the icon that come into play: 1) From your bot settings in Azure, and 2) the app manifest used for loading a custom app. (I'm not able to test installing via the Teams App store, however I would guess it would yield similar results to loading a custom app.)
In testing, each source appears to effect a different part of the Teams app. If you update your bot icon in the bot settings in Azure, this updates the conversation bot icon and the bot icon that displays when you type in a contact name. The does not update the bot's 'profile' and/or app image. These must be updated from a new manifest.
The user can uninstall and reinstall the custom loaded app (bot), however simply installing the updated manifest on top of the current bot without uninstalling appears to work just fine.
Lastly, in both cases, the user will need to clear out their Team's cache files. The following instructions explain how this can easily be done on a Windows 10 machine (original posting located here). Please forgive the formatting...markdown isn't playing nice with my letters and bullets.
If you want to clear MS Teams cache, you could refer to the following ways:
1. Fully exit the Microsoft Teams desktop client. To do this, either right click Teams from the Icon Tray and select ‘Quit’, or run Task Manager and fully kill the process.
2. Go to File Explorer, and type in %appdata%\Microsoft\teams.
3. Once in the directory, you’ll see a few of the following folders:
a. From within ‘Application Cache’, go to Cache and delete any of the files in the Cache location.
* %appdata%\Microsoft\teams\application cache\cache
b. From within ‘Blob_storage’, delete any files that are located in here if any.
* %appdata%\Microsoft\teams\blob_storage
c. From within ‘Cache’, delete all files.
* %appdata%\Microsoft\teams\Cache
d. From within ‘databases’, delete all files.
* %appdata%\Microsoft\teams\databases
e. From within ‘GPUCache’, delete all files.
* %appdata%\Microsoft\teams\GPUcache
f. From within ‘IndexedDB’, delete the .db file
* %appdata%\Microsoft\teams\IndexedDB
g. From within ‘Local Storage’, delete all files.
* %appdata%\Microsoft\teams\Local Storage
h. Lastly, from within ‘tmp’, delete any file.
* %appdata%\Microsoft\teams\tmp
4. Once finally done clearing, you can now restart Teams from your local desktop and all cache will be cleared from the desktop app.
In this way, I have been able to update the bot icon. Not a terrible process, but certainly not a friendly user experience.
Hope of help!
Related
Whilst trying to create a package (appx upload) to upload to the Windows Store, I am being told by Visual Studio 2017 that a "runFullTrust" capability is mandatory.
I have tried removing the "runFullTrust" tag along with the Capabilities tag, as my app requires no capabilities and the project won't build because it says "runFullTrust" is mandatory. So in order for the project to build, I added the necessary capability in my Package.appxmanifest file but then when I upload my successfully built package to the store, the store requires a privacy policy from me. I don't have a privacy policy and my app does not require absolutely anything from users. It's a Winforms app converted to UWP and it's a Tic Tac Toe game. Nothing is requested from my users. It's simply a grid onto which the user clicks. It has a couple text boxes, holds the player turns and keeps the score. The app does not access anything personal to the user or requests anything from the user.
I have referred to Microsoft Docs which are horrendous guides and I have looked up what "runFulltrust" is and why it's needed. I have also checked third party sites but no solution seems to be available. Microsoft Docs has a submission guide and app requirements but nothing like this seems to be covered. I have also checked this link Privacy Policy in UWP Store App ? Submission App Store Certification failed but it doesn't seem to cover my problem. Below is the tag I now have in my Package.appxmanifest with which the solution builds successfully.
<Capabilities>
<Capability Name="runFullTrust"/>
</Capabilities>
The build succeeds but the store requires a privacy policy from me. No privacy policy should be needed as I explicitly state that one isn't needed because I don't request anything from users but when the package uploads windows store changes this option to a Yes which means I need a privacy policy to submit. How do I get around this?
Converted Win32/Winforms/WPF apps run with the full privileges of the user (aka run at full trust), hence the capability 'runFullTrust' needs to be declared and disclosed to the end user.
Unlike UWP apps that run in the appcontainer, classic desktop apps (such as Winforms apps) can access all files, registry, location etc. without enforced user consent, therefore the store requires a privacy policy.
To solve it you have two options:
a) provide the required privacy policy for your app - or
b) rewrite the app as UWP
Just visit http://www.myapppolicy.com/ and fill up the form, copy the URL of the privacy policy, and paste it back in the app submission form. Done.
I'm at a total loss here and have nowhere to turn.
I made an app, set a name as Test App. Working fine. Update the name under Display Information to Dashboard App. Then I click Install your app to your workplace and authorize it.
And... nothing.
I've restarted slack. I've waited now 8 hours. I've tried again. I changed the Bot name itself. Yet the thing still says Test App
Found a different solution that updated immediately, which I had to do AFTER I did what was described by #plowman, to have the changes reflected in Slack:
Right click on bot name on Slack> Open App Details
In pop up, click Configuration, will redirect to browser tab
In browser, scroll down to Bot User section, find edit button
Change name and save
To edit the app name after it has been installed, you have to find the app in the "App Directory" for your Slack workspace.
First, open Slack, tap on the workspace name ("Raikes" in this case), tap "Settings & Administration", then "Manage Apps":
Next, scroll down to "Bot User" and edit the bot name to be whatever you want:
In the process of writing this I figured it out.
While you can rename the bot and save, this apparently does nothing. You must delete the bot and add it again, then reinstall the app. This creates a new auth token and bot ID, which you must also update in your app.
Only then will the name change.
previous answers only change the name of the bot in charge of acting on behalf of the app. If you want to change the name of the app itself, you could:
you gotta go to https://api.slack.com/apps
then check the app lists shown
select the app you want and go to the "Display Information" section
update the app name
in the end, click on the "save changes" bottom.
Can someone clarify how do I create an update in the Windows Phone Store? I'm confused on how to get this to work.
In the lifecycle section, I've got the option to "add a new file" or replace the existing one.
If I select "add a new" file, I need to re-specify all the information for the file all over again i.e. version, keywords, description, changes, etc...
If I select "replace" file, it does just that but I don't get notified that an update is available and when I go to the store, it doesn't give me the option to update, which means that I first have to uninstall the app and then install it again.
What am I missing?
Thanks.
Basically, say if you already have a WP8 app in store, and you are adding a WP8.1 version, You need to choose add new to upload the new appx file to store.
If you simply want to update your existing WP8 xap, you need to select replace instead.
When you are done with the change, click the Save button at the bottom of the page. And after you will need to click Review and Submit, followed by a final Submit button.
After all this, you will need to wait for Microsoft to send you an email saying either it's certified or rejected. They used to send out an email right after you submitted something, they don't do it anymore.
The good thing is that the certification process now takes much less time than before. I just submitted my last update and it got certified within 15 minutes.
I want to have an app which i can use for many resellers.
so for example my projectname / namespace etc. is myApp and now i want to copy all the stuff in a searate svn branch and rename some strings, change some pictures etc.
The problem is that if i install the copy (via visual Studio) my original app get uninstalled.
Does this also happen if the app comes via Store download?
how to prevent Windows Phone from uninstalling the first app when the second one is installed?
Thank you...
A Windows Phone application is identified by its product ID, specified in the manifest. So, to answer your questions:
The issue won't happen on the store, because a new product ID will automatically be generated when you submit your app
To prevent the issue you're facing, just change the product ID in the WMAppManifest.xml file
I am curious about the inner workings of the Firefox add-on installation procedure. I have noticed that the following steps take place when user installs an add-on from addons.mozilla.org:
The add-on is downloaded (probably in a temporary folder).
An installation confirmation dialogue box pops up ("install add-ons from authors you trust").
Upon clicking install, the add-on is stored in the /extensions/staged folder. Along with the add-on, there is also a JSON file like this: addon_id.json.
Firefox prompts the user to restart the browser.
After restart, the contents from the /extensions/staged/ folder are moved to the /extensions/ folder.
What I would like to know is:
Which code portion in the Firefox source code is responsible for step 5? I am assuming some c++ or js code or some xpcom module is responsible for figuring out that an add-on is waiting to be installed in the staged/ folder, and performs the necessary steps (moving the files, registering the add-on etc.). Can anyone please point me to that module/code?
Where is the add-on stored temporarily, when it is downloaded (step 1)?
Basically, I would like to alter some files after an add-on is downloaded at step 1, but before it becomes part of the browser (step 5). I want to add this functionality in the Firefox source code.
You analysis is mostly correct, it merely leaves out bootstrapped extensions. Bootstrapped extensions don't require a browser restart, they will be moved out of the staged directory and activated immediately.
The Add-on Manager is all JavaScript starting with Firefox 4. The important files are amWebInstallListener.js (the component handling add-on installations from the web), AddonManager.jsm (the generic add-on management API) and XPIProvider.jsm (the provider for XPI-packaged extensions).
extWebInstallListener.onWebInstallRequested() gets called with a bunch of AddonInstall instances (defined in XPIInstall.jsm) and creates an Installer instance that calls AddonInstall.install() for each of the installs. The downloads go into a temp file determined by getTemporaryFile() in XPIProvider.jsm (tmp-foo.xpi in the OS-specific temp directory).
Installer.checkAllDownloaded() determines that all downloads finished and displays a modal confirmation dialog (URI_XPINSTALL_DIALOG).
AddonInstall.startInstall() moves the add-on into the staging directory. Bootstrapped add-ons will be immediately installed after that. For other add-ons it continues to step 4.
onInstallEnded listeners are triggered - one of them shows the message that the browser needs to be restarted.
After a browser restart XPIProvider.startup() calls XPIProvider.checkForChanges() calls XPIProvider.processPendingFileChanges().