WPIntell

Source evidence

Changing embed options based on user field(s)

Pdf Embed · support · 2024-03-26T17:44:00+00:00

neutralsentiment
lowseverity
0.31relevance
2replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

1 / 6 rows with source links

16.7% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

5 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
miksa93 resolved
Hi, I’m wondering if this can be done. My users have a custom boolean field I am hoping can be used to determine if the embedded pdf should have the download button displayed or not. By default, the embeds are all put as canDownload = false. Can this be changed based on the user viewing the page? Hi, yes, this can be done with custom code.. If you have already a user settings you can change pdf settings with a filter. Basically you can filter the render_block and read logged in user preferences and modify the pdf options on per user settings. I close this, reopen if you need further assistance. Thanks

Comments

2 shown
tropicalista 2024-03-26T19:56:00+00:00

Hi, yes, this can be done with custom code.. If you have already a user settings you can change pdf settings with a filter. Basically you can filter the render_block and read logged in user preferences and modify the pdf options on per user settings.

tropicalista 2024-04-04T18:52:00+00:00

I close this, reopen if you need further assistance. Thanks