Azure Debug Console - There are 304 items in this directory, but maxViewItems is set to 299

Smith
Smith
None
2568 Points
74 Posts

I am using Microsoft Azure DebugConsole / Kudu.
Using the DebugConsole / Kudu I was able to edit the folder and transfer the files but I noticed that only 299 files were transferred.
I'm getting Error:
"There are 304 items in this directory, but maxViewItems is set to 299. You can increase maxViewItems by setting it to a larger value in localStorage"

Views: 10996
Total Answered: 2
Total Marked As Answer: 1
Posted On: 13-Sep-2019 06:16

Share:   fb twitter linkedin
Found similar issue on https://github.com/projectkudu/kudu/issues/2595. It's seem browser's local storage related issue.
 - Rashmi  13-Sep-2019 09:13
Answers
beginer
beginer
Member
1328 Points
43 Posts
         

I found kudu documentation detail on https://github.com/projectkudu/kudu/wiki/Kudu-console#navigate-around-using-the-folder-ui.

"Note: by default, it only displays up to 300 items. This limit can be overridden by adding a 'maxViewItems' key and value to your browser's localStorage."

I think, this can be helpful.

Posted On: 13-Sep-2019 09:17
Brian
Brian
Moderator
2232 Points
14 Posts
         

There is a way to increase maxViewItems in your browser's local storage:
if you are using chrome browser,

  1. go to your scm(kudu) site
  2. open browser developer tools (F12)
  3. in the console, run window.localStorage['maxViewItems'] = 500

Now, you are done.

Posted On: 13-Sep-2019 09:56
Thanks... it works..
 - Smith  15-Sep-2019 06:29
 Log In to Chat