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

  • Suggested answer
    Emmaneul James Abraham Profile Picture
    727 on at
    RE: Upload attachment for portal for public

    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

  • Suggested answer
    Mahendar Pal Profile Picture
    45,095 on at
    RE: Upload attachment for portal for public

    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 !

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics CRM (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 83 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 52

#3
dkrishna Profile Picture

dkrishna 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans