Ameya's Blog Bridging the gap between latest web technologies and SAP

Isolation methods – Embedded Vs URL

You must have observed this property umpteen no. of time while configuring iView properties. Isolation method gives you three options of them pumped is deprecated. However, people randomly set either one from URL & Embedded. So what are these methods and what’s their exact use? let’s see

Embedded:

This method embeds your iView into the html code that is rendered by browser while serving your request. This means, whenever any component or an iView gets refreshed, entire page gets refreshed. For e.g. There is a page having two iViews. Say one for searching the user attributes and other one to modify them. If you refresh 2nd iView, 1st iView also get refreshed and so is everything else in the page.

In simpler words, look at it as a web page without Ajax or a jQuery functionality. As you know, Ajax helps in refreshing only specific components on a web page so that user do not loose track of what he was up to. For e.g. user name validation

On similar lines, embedded isolation method would be analogous to Ajax-less web page.

URL:

Now, could you guess what this method would do? Refresh only specific iView instead of an entire page? Bang on!!! That’s correct. It only refreshes specific iView for which you set isolation method as URL and not the complete page.

What’s the best practice guideline?

It is recommended to have URL for a Page and Embedded for an iView. This is relevant when you have multiple iViews in a single page. Here would would not like to refresh entire page just for one iView. So in brief, Page –> URL & iView –> Embedded

               

You Don't Need a Bribe To Join

Plain and Simple. Do you enjoy what you just read? Did you get help to solve a work issue or learn something new? Cool, then get more in your inbox whenever we publish a new post

SAP Netweaver consultant, writer, blogger, budding SEO analyst, learner & fun loving being.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">

x
Never Miss an Update!
Stay Updated with latest posts on