Combine content from selected aspx pages and Consolidate to pdf

Hi All,
I have a new requirement in one of the SharePoint portals :
Contents are placed on ASPX pages using a content editor
A feature to select pages and combine all the content from content editor of these pages into a pdf document
Is there a way to access only
 the content stored in content editor and consolidate them in to one data source and then convert that in to a pdf file ?
Thanks in Advance
Pallavi

Hi Pallavi,
According to your description, my understanding is that you want to convert the content in content editor webpart to PDF file.
I suggest you can use read content from content editor web part to a string variable using ContentEditorWebPart class.
Here is a code demo about reading content using ContentEditorWebPart class:
http://sharepoint.stackexchange.com/questions/87499/how-to-get-content-from-content-editor-webpart-cewp-to-a-custom-webpart-on-the
ContentEditorWebPart.Content property:
http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.webpartpages.contenteditorwebpart.content(v=office.15).aspx
Then you can generate PDF file with string variable. To create PDF file, you need to download PDFsharp library and reference the dll in your project.
Here is a code demo about creating pdf file using C#:
http://csharp.net-informations.com/file/create-pdf.htm
Best Regards
Zhengyu Guo
TechNet Community Support

Similar Messages

  • Help on retriving the content from a excel file and web page

    hi,
    i need help on identify the content on a webpage. how to do this ?
    in myproject i need to read an excel file how to read an excel file , in java?
    after reading the excel file ,i have to open a webpage based on the link available in the excel file.
    how to perform this action?
    and from the web page i need to retrive the each individual text
    how to perform these action?
    please help .... urgent
    regards,
    valli

    sales team will enter data in excel file .
    the excel file will have a list of links ,
    i need to access the excel file and open that link.
    from the link i will get some information ,such as
    company name, address, phone no, contact details.
    i need to identify each individual (address, email
    id) from the web page and store that data in the data
    base .
    how to access a excel file from java?
    i found in google jakartha-poi-jar file.
    but ther eare many jar file. which one i have to
    download?
    how to identify from a web page these different
    items?
    thanksPlease answer DrClaps's question from reply #3.

  • How can i deploy a silverlight application when it contains an aspx page (And Aspx page content is a DevExpress Scheduler)

    I have a silverlight application. It has containing many navigation pages in it. One of this pages is containing an .aspx page and i have used devexpress scheduler on there. It is working perfect on development machine but on production machine when client
    logged and navigate to the scheduler page there is a message top of the page saying
    webbrowser is enabled only for out-of-browser applications running with elevated permissions in Internet Explorer.
    And i have found something like that
    https://msdn.microsoft.com/en-us/library/gg192793(v=vs.95)
    But I think my problem is not that in my project properties i always checked the require permission checkbox. i couldnt understand this behavior and how can i solve. I tryed to use .pfx file by adding in project properties signing tub. Even i couldnt understand
    how why are we using this certificate and is it interesting with it
    Also now i seen in my development machine when i opened this page a popup window come up this message:
    the current webpage is trying to open a site in your trusted sites list. Do you want to allow this?
    current site: res/npctrUI.dll
    Trusted site: localhost
    warning allowing this can expose your computer to security risk. If you dont trust the current page, choose no.
    regards
    Hamit YILDIRIM

    Things that require elevated trust will always work in visual studio.
    You need elevated trust to use the webbrowser inside a Silverlight page on a user's machine.
    That means purchasing a security certificate.
    https://msdn.microsoft.com/en-us/library/gg192793(v=vs.95)
    You can open up any old web page in another tab from Silverlight and I would suggest you consider that instead of using a webbrowser control inside a Silverlight page.
    Hope that helps.
    Technet articles: Uneventful MVVM;
    All my Technet Articles

  • My Ipad got wet in the rain. Unfortunately it was in my bag it was in sleep mode. Now i am not able to switch it off and it automatically selects different pages and Icons.What should i do. Please help

    My Ipad got wet in the rain. Unfortunately it was in my bag it was in sleep mode. Now i am not able to switch it off and it automatically selects different pages and Icons.What should i do. Please help

    Solutions for wet iPad.
    http://www.gazelle.com/how-to/ipad/ipad-recover-from-water-damage
    http://www.knowyourmobile.com/appleiphone/ipad/ipaduserguides/701079/how_to_fix_ an_ipad_if_it_gets_wet.html
     Cheers, Tom

  • HT5622 When my daughter got her first iphone we set it up with my email address, she now has her own email & new iphone.  I want to use my email address for my icloud, can I delete the content  from the icloud account and continue to use my email?

    When my daughter got her first iphone we set it up with my email address, she now has her own email & new iphone.  I want to use my email address for my icloud, can I delete the content from the icloud account and continue to use my email?

    Yes, but be sure she is on a separate iCloud account with a separate ID before deleting anything.  Be sure there is nothing that you want to keep on your device too.  When you delete the data from iCloud it will be deleted from all devices signed into the account.  Then you can delete the data from the existing account by doing the following:
    To delete the contacts, go to iCloud.com from your computer, log into your iCloud account and open Contacts, click on All Contacts on the left, to the right click on any single contact to select it, click on the Actions (gear shaped) icon at the bottom left and choose Select All, then press the Delete key on your keyboard.
    For Calendars, open the calendar on icloud.com, click Edit on the bottom left, then tap the minus sign to the right of each calendar to delete it.
    For Notes, open notes on icloud.com, click on each note on the left, then click Delete at the top to delete it.
    For Reminders, open reminders on icloud.com, click on each reminder and press your Delete key to delete it.
    For Mail, open your mail on icloud.com, click each folder on the left (such as your inbox), click on a single message to the right, press Control-A on your keyboard to select them all, then press your Delete key.  Repeat this for each of your mail folders except Trash.  When finished, click on the actions (gear-shaped) icon on the bottom left and select Empty Trash.
    If you also want to delete your iCloud backups you can go to Settings>iCloud>Storage & Backup>Manage Storage on your device, tap the name of your device under Backups, then tap Delete Backup.

  • My browser will not load a page or update unless I am actively moving my cursor or typing. If I select a page and don't do anything then it doesn't load at all. I have no idea how this happened or how to fix it. Thanks.

    My browser will not load a page or update unless I am actively moving my cursor or typing. If I select a page and don't do anything then it doesn't load at all. I have no idea how this happened or how to fix it. Thanks.

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    * https://support.mozilla.com/kb/Safe+Mode
    * https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • Why does firefox show a tab that says firefox has stopped you.. from opening this page and the ALLOW icon is there for me to click.

    from opening this page and then the ALLOW icon is there for you to click if you want to view this page. it happens almost everytime i surf the web and it is an extra step that is annoying. how do i disable it.
    thanks.
    andy

    See:
    * https://support.mozilla.com/en-US/kb/Firefox%20crashes%20when%20you%20open%20it

  • Upgraded from HP support page and now it wont boot up

    I have just just upgraded my Hp p6-2018 uk Desk-top computer with the firmware and bios .from HP support page .and now it wont boot up .wont sys restore and wont do a repair.HELP

    Reload the BIOS default settings:
    http://h10025.www1.hp.com/ewfrf/wc/document?cc=us&dlc=en&docname=bph07110&lc=en&product=5155276&tmp_...
    Please mark my post as SOLVED if it has resolved your problem. It helps others with similar situations.

  • I'm trying to open sound effects from the recource page and there's no waveform

    I'm trying to open sound effects from the recource page and there's no waveform

    What version of Audition are you talking about?  Going from memory, there was a change to how things worked (starting at CS6 maybe?) from their being a "resource centre" to a "Download sound effects and more" link on the help menu.  Exactly where that leaves owners of earlier versions would, I think, be a question for Adobe, not a user forum (though there are some pretty clever people who visit here.

  • Place holder is coming after deletion of a components from live site page and distorted the alignmet

    Place holder is coming after deletion of a component from live site page and distorted the allignment in IE7. Please suggest.

    No need for alarm. There are several folks a day posting like threads. Most folks know these phishing attempts for what they are and merely delete with prejudice.
    To the bottom line... if you wish - and I am sure Apple will take notice - you should FORWARD the email to [email protected] and delete.
    CCC

  • Scanning from my iphone 4 and saving to PDF file on to laptop later

    how can i scan from my iphone 4 and create a pdf file to store on my laptop my wireless printer is photosmart 6510

    Hi,
    You may scan by using the HP ePrint Home and Biz app.
    Below you may find the steps to get the App:
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c02775166&cc=us&dlc=en&lc=en&product=3795314&tmp...
    Set the scan as Document and it will be saved as PDF.
    You may also share the scanned files from the app.
    Click the Help (?) icon at the top and you will find the steps to share and access the files from your computer under the Transferring Files Wirelessly section.
    Regards,
    Shlomi
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

  • How do I prevent Adobe from taking my jpegs and making them pdf files? I have had to uninstall Adobe to access my photos as jpegs.

    How do I prevent Adobe from taking my jpegs and making them pdf files? I have had to uninstall Adobe to access my photos as jpegs.

    I would suggest you change your file associations so that jpgs open in a program other than Acrobat.  Assuming you have a Windows machine, just go to the Start, and search for "file associations" ... it's part of the Control Panel.
    Scroll down to the file type jpg, and set it to open with whatever graphic preview or editing program you have that you want to use as the default.  From that point on, when you click on a jpg, it should not open Acrobat and instantly try to convert it to a pdf.

  • Swf reloaded autometically in aspx page and buttons dissappear from flash content

    Hi, I am facing a problem with flash content in aspx.
    After spending some time, the swf embeded in the aspx page is
    reloaded autometically ( without refresing the aspx page only swf
    reload ) and two buttons from that swf dissappear.
    I can't understand why the swf reload ?
    Can any one help me !!

    Hi,
    Thanks Darr_darshan.
    I had embed the swf directly. And the swf is reloaded using
    backend coding, so i can't get the idea about that how the swf is
    reloaded ?

  • Embeding pdf in aspx page and transfer its contents to server using live cycle

    Hi,
         I am new in designing live cycle forms , My requirement is I want to send a pdf content data from client to server, i am using visualstudio 2005 ,
    pls give me a solution for sending using live cycle designer , Is it possible to call a webservice using live cycle if so then how? please provide a sample application , I am waiting for reply

    1) submitting form content from an interactive PDF to a server-side solution
    Designer ES enables the submission of PDF, XDP+XML, XML, and form data via an an HTTP POST. The fact that a PDF is hosted in a HTML container produced by ASPX does not change the submission options. Could you be more specific about what you are looking for in the context of VS 2005?
    2) calling a Web Service
    Yes it is possible to call a Web Service from a client-side interactive PDF. You need to define a data connection to a SOAP endpoint and bind the input and output parameters to form fields. See LiveCycle Designer ES help http://livedocs.adobe.com/livecycle/8.2/acrobat_designer/000498.html.
    Steve

  • I did a COPY of some text from a web page, and then did a PASTE into notepad.exe (Windows). The text from each line was duplicated -- on the line! Instead of "Fred", it became "Fred Fred".

    I just recently installed Firefox for the first time. It seems nice and quick. The version is reported as: "10.0.1".
    I wanted to save some text from a web page, so navigated to that page, selected the text, and pressed the Control-C combination to COPY the selected text to the buffer. For example, the text I selected looked something like this:
    Harry
    Ron
    Hermione
    Hagrid
    Albus
    NOTE: Each line of text has a small icon to the left of the text.
    It is not reasonable to COPY and PASTE each line individually, as there can be hundreds of lines of data. I recall, however, that
    doing a COPY and PASTE on this data into Microsoft's Excel will produce cells which have the icons included in the cell, but unfortunately one cannot can't get rid of them! At least I've never found a way to remove them, but that's another issue. :)
    Once I'd done the COPY operation I switched to a Notepad window and did a PASTE operation. To my surprise, the text from each line was duplicated. It looked like this:
    Harry Harry
    Ron Ron
    Hermione Hermione
    Hagrid Hagrid
    Albus Albus
    Thinking that there might be something unusual about the web page I looked at the source, but it appeared "normal" -- that is, as expected.
    Note: I have done this operation several times before, and have never seen this occur before.
    Note: In the actual data some of the lines have quoted text in them. Curiously there is weird behavior on these lines. In some cases the entire line is shown only once. (These occur at the top of the line, and the quoted text is at the beginning of the name.)
    When quoted text appears "later" in the name, in some cases the quoted text is duplicated, and in other cases the quoted text is missing altogether! I have also noticed an error with the quoted text, and so will be reporting that to the web site which generates the HTML.
    Note that each line of "text" is "anchor text", so if I click on a name the browser navigates to a page for that name.
    I believe that the problem is that the COPY operating in Firefox is not simply copying the visible text, but also the ALT=
    Below is a sample of what the source HTML looks like:
    &lt;a class="lnk" target="_blank" href="http://details.aspx?id=Harry">
    &lt;img width="16" height="16" alt="Harry" class="tb_icon" src="http://.../Harry.gif"/>
    &lt;span>Harry&lt;/span>&lt;/a>
    <br/>
    (Because of the true length of the lines in the source HTML, I have stripped out the actual URL of the site.)
    To make sure I wasn't imaging this difference I repeated the process within Internet Explorer. In that browser I did not get duplicated data.

    Try:
    *Extended Copy Menu (fix version): https://addons.mozilla.org/firefox/addon/extended-copy-menu-fix-vers/

Maybe you are looking for

  • Encore / Images Blacked out with RED line on top

    New at this. I have 1.67gb left in my project. (I have a lot of photos) Any way when I add more (Shift / Ctrl / g ) When I look at the bottom Left where the slides show up I just loaded 2 of the 60 photos I can see but the other 58 are black. All 60

  • Can Time Machine be disabled permanently?

    I'm in the middle of partitioning a brand new external hard drive (compliments of LaCie - the original (500 GB) had a faulty FW port; they replaced it with a refurb which had a defective on/off switch, so they just sent me a brand new 1 TB model - ni

  • Re: Upload speed issues

    I am tagging on the end of this thread as my issue seems very similar to the OP. For the record I am on an Openreach fibre converter and HH3 The above has been updated, cycled and repeatedly played with no solution to the problem After two pointless

  • I have to give password to file changes in my home directory

    From yesterday, when I try to change files in my home directory, a dialog box pops up to ask the password. That happens even after make the file permission to 644. I tried to change the whole /Users/myplace permisson, but it doesn't work. The owner o

  • Streaming HD movies from Itunes to Apple TV 2

    Hello all, I am having an issue streaming HD (m4v) movies from iTunes to my Apple TV 2. First off, I am able to stream Netflix flawlessly using my Apple TV. The HD Movies from ITunes glitches\lags every 20-25 seconds. Here is my setup. Router: Apple