locked
How to clear cache of the folder picker?

    Question

  • Hi,

    I am using folder pickers in my app. I have set the start location to Computer Folder.

     FolderPicker folderPicker = new FolderPicker();
     folderPicker.SuggestedStartLocation = PickerLocationId.ComputerFolder;

    But when the folder picker dialog opens, the start location is not the Computer folder. It points to some old location which might have been navigated to earlier.

    I tried clearing the FutureAccessList and MostRecentlyUsedList, but it din help.

    How can I solve this issue?

    Thanks

    Thursday, September 18, 2014 8:00 AM

Answers

  • This is expected behavior. Apps cannot override it.

    The suggested start location is just a suggestion. The picker will generally start at the last location the user picked from that app. This is an implementation detail and may change at any time.

    Thursday, September 18, 2014 8:08 AM
    Owner
  • No. Apps can suggest the standard locations.
    Monday, September 22, 2014 6:08 PM
    Owner

All replies

  • This is expected behavior. Apps cannot override it.

    The suggested start location is just a suggestion. The picker will generally start at the last location the user picked from that app. This is an implementation detail and may change at any time.

    Thursday, September 18, 2014 8:08 AM
    Owner
  • Thanks.

    Is it possible to provide custom location as the start location for the folder picker, instead of PickerLocationId.ComputerFolder or the others?


    Monday, September 22, 2014 4:11 AM
  • No. Apps can suggest the standard locations.
    Monday, September 22, 2014 6:08 PM
    Owner