Skip to main content
Nintex Community Menu Bar
Question

Override Attachment Object?

  • Jul 9, 2024 9:50 PM UTC
  • 5 replies
  • 54 views
  • Translate All

Forum|alt.badge.img+18

Is there a way to override the Attachment View action?

I created the skuid page, the page assignment and the VF wrapper. But there doesn’t seem to be a way to tell salesforce to use my VF page instead of the standard attachment detail page. I’ve got to avoid sending folks into the scary world of plain SFDC.

This topic has been closed for replies.

5 replies

Forum|alt.badge.img+17
  • Nintex Employee
  • Jul 9, 2024 11:10 PM UTC

This is probably not a satisfactory answer,  but you can work to have all your attachment links go directly to your skuid page,  rather than going to the salesforce record ID.  If you are trying to avoid the Salesforce UI entirely - then probably everything is in your control.  We also often don’t ever let users see the attachment detail page - we surface all the necessary data into an attachemnts table - and override all links so they go directly to the file itself using somthing like “/servlet/servlet.FileDownload?file={{{Id}}}”

Translate

Forum|alt.badge.img+18
  • Author
  • Jul 9, 2024 11:10 PM UTC

Makes sense. Thanks, Rob.

Translate

Forum|alt.badge.img+5
  • Rookie
  • Jul 9, 2024 11:10 PM UTC

Hi Rob,

I’m trying to accomplish the same thing but I’m still getting the default Salesforce file detail page when I click on the link instead of the file download. I have a template field with the following:

{{Name}}

Is there somewhere else I need to override the link behavior??

Translate

Forum|alt.badge.img+17
  • Nintex Employee
  • Jul 9, 2024 11:10 PM UTC

The Name field needs to be wrapped in {{{Triple Braces}}}.    When you wrap it in double braces,  the link is still active. You just want the data in this case so that the link is provided by the a href.  That is provided by triple braces. 

Translate

Forum|alt.badge.img+5
  • Rookie
  • Jul 9, 2024 11:10 PM UTC

Thanks Rob, Completely missed that.

Translate