Attachments not visible on Notes

When we attach files to a Note, the attachement is not visible to other users because of the Teams that are assigned to the attachment record.

We noticed that the attachment record created from a Note only contains the user's default team. that doesn't allow visibility to other users.

Attachment Teams are not aligned with parent Notes teams.

Is this a common issue? Is it a bug????

Is there a solution?

Parents Reply


  • I believe I finally understand your scenario now. 
    Let me know if this is what you are facing: 

    1 - With User Jim that has default team = West you create a note with one attachment. 
    2 - Now you want to provide visibility to team East adding the new team to the note that Jim created. 
    3 - The users on Team East can see the Note but can't open the attachment. 

    This happens because the attachment is stored in one "Attachment note" in which the Teams are not propagated with the change in step 2. 

    This is indeed an issue and it was already documented by our support team: 

    #89322 ( portal.sugarondemand.com/ )

    While this is not fixed the only workaround I can think of is to create a logic hook to copy the teams over in step 2 in an after_save action. 

Children