Stay organized with collections
Save and categorize content based on your preferences.
Sets the file IDs included in the view.
Don't combine this setting with setEnableDrives or setParent. Calls to this
function override previous calls to setEnableDrives or setParent.
Signature
setFileIds(fileIds:string):DocsView;
Details
Optional
No
Final
No
Protected
No
Static
No
Parameters
Name
Type
Optional
Description
fileIds
string
No
A string of file IDs. Use commas to
separate file IDs if setting more than
one. If you include the file ID of a file
that the user doesn't have access to, the
file is excluded from the view.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-10 UTC."],[[["`setFileIds` is a function that sets the file IDs to be included in a `DocsView`."],["The `setFileIds` function takes a mandatory string parameter `fileIds`, which can include multiple comma-separated file IDs."],["If a file ID specified in `fileIds` is not accessible to the user, that file will be excluded from the `DocsView`."],["The `setFileIds` function returns a `DocsView` object."]]],[]]