'New Google Drive Ignores IconLink Property on File

Ever since the new look for Google Drive has been in place, files uploaded by my company's app have been displaying the default file icon as opposed to the icon we are providing in our app.

This is how it looked in the old Drive:

File icons work in old Drive

And this is how it looks in the new Drive:

enter image description here

Nothing changed on our end. The only thing I did was open my Drive settings and switch back and forth between the new and old views of Drive.

After some brief research, I found out that the Google Drive SDK allows you to specify an iconLink property on files that get uploaded. I queried Drive and checked to make sure that the value was being set by our app, and it was.

My question is: why doesn't the new Google Drive seem to use the iconLink property? What do I need to do to make the new Google Drive view use the file icons I want instead of the default one?



Solution 1:[1]

This is a known limitation of the new Drive UI, and the team is working on implementing a fix. For the time being there is no way to workaround this issue. The iconLink field is read-only and so not a solution.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Eric Koleda