search cancel

Unable to attach files in grid view during creation

book

Article ID: 257188

calendar_today

Updated On:

Products

Clarity PPM On Premise Clarity PPM SaaS

Issue/Introduction

It is not possible to add an attachment while creating a new instance of an object in the Modern UX grid view. It is possible to add it once the instance is created, but if the attachment attribute is required, it will not be possible to create new instances from the grid (i.e.: using the '+' button)

Steps to Reproduce:

  1. Go to Administration > Studio > Objects > Project.
  2. Create a new attribute of type Attachment that is Value Required and assign an API attribute ID to it.
  3. In the Modern UX, go to Projects (grid view).
  4. Ensure the column for the required attribute is present in the grid.
  5. Try to create a new project from the Grid.

Expected Results: After adding all required attributes, including the attachment, the new project is created.

Actual Results: It is not possible to attach a file unless the project already exists. As the attribute is required, the project is not created.

Environment

Release : 16.1.0

Resolution

This is working as designed. We cannot add an attachment attribute without creating the instance first. To avoid this, the attachment attribute during creation is disabled.

Workaround:

Grant the 'Create from Template' access right instead of the 'Create' right so that the user is forced to create the project from a template. Remove the 'Create' access right. In this usage, the 'Create Modal' will appear and any Studio-Required fields will show up automatically for the user to fill in at the time of creating the project.