web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Upload attachment for portal for public

(0) ShareShare
ReportReport
Posted on by 177

Hi Experts,

I need your expert advise on below requirement.

I have portal consisting of one web form which is almost like registration form. 

My web form is connected to lead entity and I have created 5 tabs in entity and every tab is separate web steps in web form. At last step we have 4 fields which are as shown in image. 

6354.images.PNG 

Our requirement is to make this field "I agree to the Terms and Conditions"  hyperlink and on click of it PDF should be download or at least PDF should open.

Could you please let me know if I can make crm entity field as hyperlink and also where can I store my PDF to make it public since this registration page is public.

Regards,

Nirmal

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Mahendar Pal Profile Picture
    45,095 on at

    Hi,

    You can store your pdf file as web files, later you can reference it on portal and using js code only you can form your field to be a hyperlink, try to play with DOM, best of luck !

  • Suggested answer
    Emmaneul James Abraham Profile Picture
    727 on at

    Hello Nirmal

    Here isyour questions,

    1) Where to Store your PDF File ?

    Ans :- In WebFiles (As a Notes) 

    2) How File URL Will be?

    Ans:- your Portal URL/Partial URL of your Web File (this is a Direct link to your File)

    3) How to Open File On Check box Check

    Ans:- Under Web Form step (Advanced Tab) you will get an option to add Custom Javascript , there under document.ready you can add below Code, by adding Check box ID and File URL

    if($("#click").is(':checked')){
    e.preventDefault();
    window.location.href = 'portalurl/WebfilePartialURL';
    }

    I hope this will help you.

    Thanks  

    James

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans