Skip to Content
Author's profile photo Ravi Maheshwari

How to export Ajax Framework Page (AFP)

Problem:

When you try to export Ajax framework page (AFP) via transport packages it doesn’t get exported. After copying and customizing the original Ajax Framework Page the new page can be added to a transport package but while exporting the package, the entry is removed from the table of content and is not included in the exported file. You are unable to transport Ajax framework page via transport package. As show in below screenshots:

AFP added into transport package

Click “Export” and content is not visible

/wp-content/uploads/2014/10/1_558623.png /wp-content/uploads/2014/10/2_558624.png

Affected Environment:

  • NW 7.01 and above
  • NW 7.3x and above
  • NW 7.4x and above

Root Cause:

Content provided by SAP can’t be export and by mistake SAP has provided content under “every user” with prefix com.sap, it is impossible to export any object with this prefix.

Solution:

To overcome this issue, you will have to manually change the ID / prefix of Ajax framework page. Follow the below steps:

  1. Copy AFP from portal_content -> every_user (Portal users) -> general (Standard Portal Users) -> AjaxframeworkContent to your working folder or in same folder. I have copied that into Vendor Portal Framework.

         /wp-content/uploads/2014/10/3_558625.png

     2.     Right click on AFP and click on change ID

             /wp-content/uploads/2014/10/4_558615.png

     5.     Change ID prefix from com.sap.portal to com.portal or com.<YourCompanyName> or whatever you like

             /wp-content/uploads/2014/10/5_558616.png

Once this is done, save it and now you will be able to export Ajax framework page new content without com.sap prefix.

Assigned Tags

      4 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Former Member
      Former Member

      Hi Ravi,

      Another good doc by you and another problem solver. 🙂

      Very good blog for newbie like me. Keep writing.

      Jorge

      Author's profile photo Puneet Dhote
      Puneet Dhote

      Thanks for the information!!!!

      Gr8 blog.

      Author's profile photo Former Member
      Former Member

      Good blog. Really helpful.

      Author's profile photo Former Member
      Former Member

      Thanks for updating this.. Keep up the good work of writing such blogs 🙂