Request

Response

    Add Members to a Folder-Level Project

    A Folder-Level Project is a new feature in Fusion that enables access control at the folder level within a project. This means that different individuals can be granted access to specific folders within the same project. For instance, within Project A (a folder-level project), you can assign access to Folder A to one person, and provide access to Folder B to another person.

    This guide will walk you through the steps on how to add members to a Folder-Level Project.

    You will use the following queries in this topic:

    TypeOperationDescription
    Query addFolderLevelProjectMembers Adds members to a Folder-Level project.

    Add members to a Folder-Level project

    The following steps demonstrate how you can run the addFolderLevelProjectMembers query to add members to a Folder-Level project.

    1. Enter the following query in the Query Pane of the Manufacturing Data Model Explorer.

      Query

      mutation addFolderLevelProjectMembers($input: AddFolderLevelProjectMembersInput!) {
            addFolderLevelProjectMembers(input: $input) {
                project {
                    id
                }
              }
            }
      
    2. In the Query Variables Pane, enter the value of the projectId, memberRole (which signifies the role you want to assign to the member), and the list of email addresses of the members you want to add to the project with that particular role. To know how to obtain the projectId, refer to Retrieve Projects.

      Query Variables

      {
        "input":{
            "projectId": "urn:adsk.workspace:beta.project:ba71aff7-f66e-4958-b0fd-d127a3a96ad0",
            "memberRole" : "VIEWER",
            "emailAddresses": [
                "user1@yopmail.com"
            ]
          }
        }
      
      Show More
    3. Click Play. All the members with the specified role and email addresses will be added to the project.

      Response

      {
        "data": {
            "addFolderLevelProjectMembers": {
                "project": {
                    "id": "urn:adsk.workspace:beta.project:ba71aff7-f66e-4958-b0fd-d127a3a96ad0"
                }
              }
            }
          }
      
      Show More