Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
nol_hendrikx
Active Contributor

Often I get complaints if the SAP Portal is still running. The portal seems to be slow, pages are empty. I know what is going on, I am developing the custom framework, fixing some bugs or adding new functionality. Deploying the portal application takes some time and you will notice it.

Now most of the intelligence in the custom framework (Ajax) is client side. This means that you can call javascript functions that retrieve information from the backend (LSAPI). Previously I had to change the code in NWDS, deploy it and wait for some seconds to see the result. My collegues yelled at me again: "Noël are you deploying?". With a big smile I did not say anything.

Well... my collegues love me once more. How? I am using Fiddler (and other HTTP watchers) and discovered there's a neat functionality in it. It's called "Autoresponder". http://www.youtube.com/watch?v=h3DWqYXKarA

Ok, here's the deal. Step by step this time to set everything up.

Step 1:

Get the files you will change a lot. In my case they are located in my portal application.

Step 2:

Copy and paste the files into a folder (e.g. d:\noel\fiddler)

Step 3:

Setup fiddler with autoresponder settings:

Go to Autoresponder > Add rule. Now you need to know the location of your css and js files while viewing as an end user:

Copy and paste the url of the css file into the rule definition

When Fiddler sees this file, it will be 'replaced' by the one you defined.

Step 4: Enable it

Step 5:

Change your local files as often as you like. No one will notice it!!!

Step 6:

Don't forget to save your changes back to the origional source (portal project) when you are finished.

Happy developing!

/*

nol.hendrikx - SAP Portal consultant @ Peppie Portals.

Specialized in Corporate branding SAP Portal / Adobe Interactive Forms.

UI Theming blog series

Portal theming - also waited a couple of years?

How to... UI Theme Designer - Installation

How to... UI Theme Designer - Migration

How to... UI Theme Designer - Locating elements

How to... UI Theme Designer - Transportation

How to... UI Theme Designer - Make use of the Custom CSS tab in the Portal!

Other blogs:

Tired of zipping / unzipping portal theme?

Tips for the Portal Content Studio

DSM Terminator and popup blockers (or not)

My best development friend - Autoresponder FTW

/*

1 Comment
Labels in this area