Skip to main content

Notifications

Community site session details

Community site session details

Session Id : GIpXE7bjLrXFi5L57TTHOh
Power Apps - Building Power Apps
Answered

HTML To export to pdf

Like (0) ShareShare
ReportReport
Posted on 27 Dec 2020 10:20:10 by 64

i am trying to design HTML page of my form 

 

jaleefpk_0-1609064228287.png

i am pretty new to HTML , can any one help me , how to get the form value to html table field

for example in my html page , i have a table <html><body> <table> <th>emp id</th> <td>here i want to get the employee id entered in the sharepoint form , can anyone help me 

  • WarrenBelz Profile Picture
    146,731 Most Valuable Professional on 27 Dec 2020 at 11:43:50
    Re: HTML To export to pdf

    @jaleefpk ,

    It was not evident from your post what type of control DataCardValue22 was (so I assumed Text). I also now see you have used DataCardValue22_1 (I assume this is another control).

    To answer your question .Text is used for Text boxes, .Selected.Value would be for dropdown or combo box where the source field was either Choice or LookUp.  

  • jaleefpk Profile Picture
    64 on 27 Dec 2020 at 11:19:21
    Re: HTML To export to pdf

    @WarrenBelz  "<html><body><table><th>" & DataCardValue22_1.Selected.Value & "</th><td></body></html>" actually this worked,

     

    can you tell me where to use .text and where to use selected.value

  • Verified answer
    WarrenBelz Profile Picture
    146,731 Most Valuable Professional on 27 Dec 2020 at 11:13:18
    Re: HTML To export to pdf

    Hi @jaleefpk ,

    Assuming you are using a HTML Text box - it would need (using your HTML)

    "<html><body><table><th>" & DataCardValue22.Text & "</th><td>"

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,731 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,077 Most Valuable Professional

Leaderboard