Migrating Content from a Custom ASP Page to a SharePoint Page Layout. Includes object tags to flash CSS images

Hi Guys,
I'm currently getting issues when trying to migrate content from ASP Pages used in a custom intranet developed by a client to SharePoint Pages.
My current strategy to do so is as per below:
a. Create ASPX Pages in Page Library with SharePoint Designer
b. Copy all common resource files needed by the pages within the Pages library. Includes folders for Javascript, CSS, images etc. This way relative address of resources in pages will pick up pages library as default folder
for resources.
c. Copy Source Code of Page from Browser by right-clicking ‘View Page Source’/ Copy code from .asp file
d. Clean the code to remove unnecessary codes from SharePoint Pages.
At this point page renders without SharePoint Branding.
However if I apply SharePoint Master Page onto the ASPX page by using Style > Attach > Default Master Page, this generates an Error when the page renders.
What is missing in this approach or what would be the best approach to migrate the page to SharePoint without code solution?
Grateful if you could help.
Thanks 
Rhyan.

Hi Rhyan,
As I understand, you want to create a custom application page in SharePoint 2013.
If you copy the code in the asp page to aspx page, it cannot work. You should write the new code that can work in the asp file for the SharePoint aspx page.
There is a similar case:
https://social.technet.microsoft.com/forums/sharepoint/en-US/0a97820a-59b9-4430-a98c-d2941803c38e/classic-asp-pages-to-sharepoint-pages-migration
You can create a web application page in the visual studio. You also can explicitly change which master page is used by the application page by setting the MasterPageFile attribute of the application Page element. (For example: MasterPageFile="~/_layouts/applicationv4.master").
The articles below are about creating application Pages for SharePoint.
https://msdn.microsoft.com/en-us/library/ee231581.aspx
http://nikpatel.net/2012/01/20/custom-sharepoint-pages-site-pages-vs-application-pages/
Best regards,
Sara Fan
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected]

Similar Messages

  • Migrate content from Gateway server 2.0 to NW 7.4

    Hi All,
    We have a migration planned with our client. In the current situation, there is a separate Gateway server 2.0 on NW 7.02 system.
    On this gateway server custom developments are done. Now we have to move to cloud solutions where the server available will be NW 7.4 which has built in gateway server. The NW 7.4 is on Linux and Sybase where NW 7.02 is on HP-UX and Oracle database. The database restore/ recovery method is not to be used here. Can we migrate contents from NW 7.02 via transport to the new NW 7.4 system?

    I don't think you should have any complexities with moving a request to your system in cloud. At least, your GW developments / any developments in ABAP are independent of underlying databases/operating systems and would have no impact if you are transporting them.
    But, there might be some challenges if there are some deprecated methods or features which should be looked at on pure Gateway perspective, however, there should be relevant notes to address such incompatibilities.
    Br,
    Nadh

  • How to migrate content from BW 3.1 to NetWeaver 7.0

    Hello all out there,
    For a couple of years I have been successfully using SDN, finding always the right answer to my questions, however in my late assignment things have not been running that smoothly.
    This is my first posting to SDN and I hope any of you out there can give me a hand.
    <b>My Case:</b>
    We are planning to upgrade from BW 3.1 directly into NetWeaver 7.0
    <b>Our previous research within our planning phase has taking us to read:</b>
    •Everything under the Marketplace NetWeaver Upgrade portal (https://websmp204.sap-ag.de/upgradenw70)
    •Upgrade Master Guide
    •Many docs in SDN
    <b>My Question:</b>
    Based on our research, we have a good understanding about the technical upgrade path and the creation of a new landscape. However anything we have read explains about how to migrate our actual Queries, ODS, Web Templates, Infocubes, Update Rules, InfoObjects, etc to the new environment.
    <b>Could you please point me to the right literature, how to guide, migration path, etc; explaining how to migration content from BW 3.1 to NetWeaver 7.0</b>
    Thanks
    Alejandro

    Hi,
    This is more a question for the BI forums.
    Anyway, have a look at
    service.sap.com/upgrade-bw
    BW3.0B upgrade to BI 7.0 question about BI Content 3.1
    /thread/367125 [original link is broken]
    /thread/150068 [original link is broken]
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/2e8e5288-0b01-0010-2ea8-bcd4df5084a7
    Eddy
    PS. Which type of SDN Ubergeek/BPX suit are <a href="/people/eddy.declercq/blog/2007/05/14/which-type-of-sdn-ubergeekbpx-suit-are-you">you</a>?
    Deadline: June 15th

  • Search result to get data from bing search and display it in sharepoint page.

    I have configured result source which gets data from bing site,i have given following url as source url
    http://www.bing.com/search?q={?searchterms}&format=rss&Market=en-Us
    but it returns only 8 results from RSS. i want to get all results of search and display it in my SharePoint search results page. 
    any pointers will be helpful. 

    Hi,
    According to your post, my understanding is that you wanted to search result to get data from bing search and displayed it in sharepoint page.
    To display more items, you can modify the item number when you add
    New Query Rule.
    To get all results, I recommend to use the “Show More”
    link in the result page.
    You can enter the URL when you add New Query Rule:
    "More" link goes to the following URL: http://www.bing.com/search?q={searchterms}
    Here is a great blog for your reference:
    http://sharepoint-community.net/profiles/blogs/integrate-bing-with-sharepoint-online-2013-search
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Downloading blob content from a custom table

    In our hosted Apex application, the following code from the Application Express Developer's Guide works great for allowing a user to download blob content from one of our custom tables via a download button. However, the code doesn't work on the Oracle Cloud because the "owa_util" package is no longer available. The code is as follows:
    CREATE OR REPLACE PROCEDURE download_my_file(p_file in number) AS
    v_mime VARCHAR2(48);
    v_length NUMBER;
    v_file_name VARCHAR2(2000);
    Lob_loc BLOB;
    BEGIN
    SELECT MIME_TYPE, BLOB_CONTENT, name,DBMS_LOB.GETLENGTH(blob_content)
    INTO v_mime,lob_loc,v_file_name,v_length
    FROM file_subjects
    WHERE id = p_file;
    -- set up HTTP header
    -- use an NVL around the mime type and
    -- if it is a null set it to application/octect
    -- application/octect may launch a download window from windows
    owa_util.mime_header( nvl(v_mime,'application/octet'), FALSE );
    -- set the size so the browser knows how much to download
    htp.p('Content-length: ' || v_length);
    -- the filename will be used by the browser if the users does a save as
    htp.p('Content-Disposition: attachment; filename="'||replace(replace(substr(v_file_name,instr(v_file_name,'/')+1),chr(10),null),chr(13),null)|| '"');
    -- close the headers
    owa_util.http_header_close;
    -- download the BLOB
    wpg_docload.download_file( Lob_loc );
    end download_my_file;
    Besides using web services, does anyone know of a way to do this? Is there a way to add access to the "owa_util" package in the cloud? I have also tried apex_util.get_blob_file_src but that is also unavailable in the Oracle Cloud.
    Thanks,
    Steve

    Following Joel's advice:
    The way I solved this was to split the code between two page processes and one application process. The download button first calls a page process to move the report data into a blob column and then calls another page process which is of "run application process" type. This calls the application level process where the download code, shown below, is called.
    Notice the following changes to the code from the one posted earlier (also from Joel)
    1) added sys.htp.init;
    2) "sys." to all htp, owa and wpg_docload calls
    3) added apex_application.stop_apex_engine; after the wpg_docload statement at the bottom of the script.
    Now the download button launches a "save as" dialog box and the report content is downloaded to the client.
    The code now looks like:
    CREATE OR REPLACE PROCEDURE download_my_file(p_file in number) AS
    v_mime VARCHAR2(48);
    v_length NUMBER;
    v_file_name VARCHAR2(2000);
    Lob_loc BLOB;
    BEGIN
    SELECT MIME_TYPE, BLOB_CONTENT, name,DBMS_LOB.GETLENGTH(blob_content)
    INTO v_mime,lob_loc,v_file_name,v_length
    FROM oehr_file_subject
    WHERE id = p_file;
    -- set up HTTP header
    -- use an NVL around the mime type and
    -- if it is a null set it to application/octect
    -- application/octect may launch a download window from windows
    sys.htp.init;
    sys.owa_util.mime_header( nvl(v_mime,'application/octet'), FALSE );
    -- set the size so the browser knows how much to download
    sys.htp.p('Content-length: ' || v_length);
    -- the filename will be used by the browser if the users does a save as
    sys. htp.p('Content-Disposition: attachment; filename="'||replace(replace(substr(v_file_name,instr(v_file_name,'/')+1),chr(10),null),chr(13),null)|| '"');
    -- close the headers
    sys.owa_util.http_header_close;
    -- download the BLOB
    sys.wpg_docload.download_file( Lob_loc );
    apex_application.stop_apex_engine;
    end download_my_file;
    Thanks Joel for your help.
    Steve

  • Migrating content from an encrypted Time Machine external disk (will not easily work)

    I recently purchased an SSHD to upgrade my Mac. I preferred not to completely restore from Time Machine, but rather to install a new copy of Mavericks on the new disk and then migrate my TM content afterwards. At the end of installation, Mavericks proposed the option to migrate data from a TM backup, which I chose.
    It turns out that the Migration Assistant did not recognize any disk, perhaps because it was encrypted, nor displayed any way to select the volume and unlock it by entering its password. Despite what Pondini says the Time Machine backups disk was not seen by the Mac: as workaround I had to create a fictitious user, log in, unlock the disk (that was immediately recognized by the system) and then run the Migration Assistant from there (by the way, after 4 hours I finally logged into my migrated account and found out that apps were not imported at all!)
    I find all this quite not…applish! I could have preferred to unencrypt the TM disk rather than
    Is there anyone facing this same experience? Hope that this, if it's a bug, will be fixed, otherwise I'll have to make a TM backup on a secondary disk (which I don't own so big).

    Well a google search would appear that disk utility will show you the disk regardless if it's mounted or unmounted. you're best bet would be to unmount the disk in finder, shut down the computer completely, unplug it from a power source, and then unplug the firewire...
    I think this is your safest bet but then again, I'm not that worried about ejecting my disks.
    you get no error messages when you right click and eject the disk in in disk utilty? you said you have a my disk, do you mean My Book by western digital? I know that they load software onto the machine for encryption purposes. have you tried ejecting the disk from there? I uninstalled said software so I can't tell you if there is an option for that or not.

  • How to Migrate content from a thrid party content management system to WC

    Hi,
    How can we migrate full content from a third party CMS to Oracle Webcenter Content system? Do we have a automated batch file import or any APIs which can accept XML data about the content files and upload to the content items to Webcenter Content.? The main idea is migrate from a old CMS to a new Webcenter Content.
    Any ideas...
    Regards,
    Rahul

    Hi
    You have different ways to do this action.
    - You can use "Desktop Integration Suite" that allows you to copy from your Windows Explorer to UCM like any other shared folder.
    - You can use BatchLoader, that will follow a script that creates this massive import to UCM
    - You can create a Java small client that via RIDC can insert all contents.
    Batch Loading content: http://docs.oracle.com/cd/E21764_01/doc.1111/e10792/c02_processes.htm#CHDDFCHE
    Folders and WebDav: http://docs.oracle.com/cd/E21764_01/doc.1111/e10797/c09_folder_all.htm#sthref715
    Regards

  • HT1338 Can't find or see migrated contents from my older MacBookPro to new one

    The full migration finished, then a request for a PW appeared which was confusing which computer it was for.  I typed in what I believe was the correct one, but the screen disappeared and I could find no migrated files and had no access to that screen asking for the PW again.  Where and how do I locate the migrated files?

    Look in /Users

  • How to migrate content from SharePoint to Oracle ECM

    Hi ,
    We are planning to move SharePoint site content to Oracle ECM environment. I would like to know whether we can move SharePoint content to Oracle ECM environment. If we moved all the meta tags will be same as like SharePoint?
    Kindly help me on this.
    Thanks in advance

    Hello,
    The TechNet Sandbox forum is designed for users to try out the new forums functionality. Please be respectful of others, and do not expect replies to questions asked here.
    As it's off-topic here, I am moving the question to the
    Where is the forum for... forum.
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book: Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C40686F746D61696C2E636F6D'-split'(?&lt;=\G.{2})'|%{if($_){[char][int]&quot;0x$_&quot;}})

  • Migrate User from Classic mode to Forms Authentication in SharePoint 2013

    Hi All,
    I have upgraded a SharePoint 2010 classic mode site to SharePoint 2013 claims authentication. I have executed the command MgrateUser($true) and the user account is updated to Claims mode and I am able to login to the site.
    Now I have extended the site to use forms authentication against Active Directory. How do I update the accounts to Form Authentcation mode using Powershell, is there any command available.
    Thanks & Regards
    pankaj

    Okay, I would suggest instead to use Web Application Proxy and ADFS 3.0 (using an NTLM connection to SharePoint). This way you get your forms experience for those users who require it (or all, your choice) and you do not have to change anything with SharePoint.
    More info here: http://thesharepointfarm.com/2014/02/sharepoint-and-the-web-application-proxy-role/
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Migration  of content from Oracle ContentDB to ECM

    Hi,
    I am new to Web center Content.
    I have to migrate content from Oracle Content DB into Web center content.
    Can anybody please suggest any means ?
    I am unable to decide the approach.
    Apparently RIDC is a suggestion I have heard of, but i would still need help on its implementaion.
    Please contribute with your suggestions.
    Looking forward for dem..
    Thanks in advance..

    Search this forum for 'migration' - this topic is often discussed. A good post is e.g. this one: Re: migrating content from UCM 10g to UCM 11g

  • Migrated iPrint from NW to OES2, but doesn't autostart?

    I ran this through my test lab and it seemed to work okay using the MigGUI to migrate iPrint from NW 6.5.7 to OES2 SP1 Linux
    New driverstore object name, and manager names, of course.
    We then created an NSS volume and used the script to migrate it to NSS aftewards.
    everything works fine EXCEPT:
    If we reboot the OES2 server, the driverstore and the manager do not seem to auto-start.
    We can go into iManager and start them and then it works.
    Whereabouts would I find the log file to indicate why it's not auto-starting? (or perhaps it's trying to auto-start and is failing for some reason).

    On Thu, 23 Jul 2009 20:36:03 +0000, kjhurni wrote:
    > Is it possible the "boot" is calling the wrong conf file? Whereabouts
    > would I find the "startup" files that are used during boot?
    I doubt it since the init script itself specifies which conf to use via
    the CONF_FILE variable. I know you said you can start the driverstore &
    manager using iManager. What if you try starting them manually using the
    init scripts?
    /etc/init.d/novell-idsd start
    /etc/init.d/novell-ipsmd start
    Joe Marton
    Novell Knowledge Partner
    SUSE Linux Enterprise 11 is ready for action.

  • How to call a Bapi or RFC from a custom logon module

    Can you provide an example of how to call a bapi or rfc from a custom logon module? (used to authenticate in portal)

    Hello all,
    Is it possible to use SAP JRA instead?
    We have a Connector deployed on the WebAS 6.40. From an EJB (Webservice) it is possible to lookup the connector, but if i try to lookup the connector from a custom LoginModule, i get the following error:
    Path to object does not exist at java:comp, the whole lookup name is java:comp/env/eis/SAPJRA_CRMDC.#
    The whole lookup in LoginModule looks
    try
                   initialcontext    = new InitialContext();
                   connectionFactory = (ConnectionFactory) initialcontext.lookup("java:comp/env/eis/SAPJRA_CRM");
              } catch (Exception ex)
                   location.errorT(ex.getMessage());
    Regards Oliver

  • Migration of portal content from EP 6.0 SP 15 to NW 2004s Portal

    Hi,
    Our requirement here is to migrate Portal content from EP version 6.0 SP15 to the latest Netweaver portla (NW2004s). Expecting helpful suggestions from SAP EP gurus!!!
    All helpful answers will be rewarded. Gurus, please help!!!
    Cheers,
    L Buegg.

    Leena,
        These are the steps in migrating the portal content from the EP 6 SP15 to the Netweaver Portal (EP 7.0 or the NW 2004s Portal) in simple:
    1. Go to <b>System Administration -> Transport -> Portal Content</b>. Right click on the folder, you wish to transport. Select <b>New -> Transport Package</b> .
    2. Fill all the details (like name of the transport package, id etc) and then add the objects(iViews, Pages etc) you wish to transport to the newly created transport package by right clicking on the objects.
    3. Once the objects are all added, click on Export in the object editor of the Transport package and the export happens immediately.
    4. Navigate to Drive\usr\SAP\SID_Instance\Sys\global\pcd\Export of the EP 6 SP 15 Portal Server. You will see the epa file created during this export process.
    5. Copy this epa file and place it in Drive\usr\SAP\SID_Instance\Sys\global\pcd\Import folder structure of the NW 2004s Portal Server. Go to <b>System Administration -> Transport -> Import</b> and do the import as you would import any business package.
    This are the steps to export and import the portal content from one portal server to another portal server.
    Hope this helps!!!
    Sunitha.

  • 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

Maybe you are looking for

  • CS4 Master Collection, Quits on itself while starting

    Hello everyone. Im posting a question that I couldn't find all over the net. I had some troubles on my mac pro and it started crashing on itself. After that series of wthat-the-crapness, CS4 does not start any more. It would start to load and quit on

  • Problem with manifest file and Plateau LMS

    I have published a course with a quiz in SCORM 1.2 and tried to upload to a Plateau LMS. It seems that a "page cannot be found" message is the result after upload and we try to launch the course. The course works outside the LMS (when run locally on

  • Mail not receiving new mail

    can anyone help im not recieving any new emails but i can send emails ...... i tryed to uninstall the email address that didnt help..... i tryed the doctor connection test it said that im connected??/?????? pls can anyone help

  • ADOBE Form Table printing Multiple pages

    Hi,    I am having a suituation that in ADOBE Forms I need to display same internal table data in multiple pages. But while i display it the data only printing in first page. I want to print the same data in the second page also. How to do this? any

  • Zoom function - my script on Hotmail is so small and Hotmail says use zoom function on browser, where do I find this?

    The script on Hotmail has suddenly gone small and won't get bigger. when I ask for help on hotmail, it says use zoom function on browser - where, how?