cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Deleting cache in xMII 12.0

Former Member
0 Likes
492

Hello,

how can I reset the cache on the WAS or XMII 12.0? I have changed some settings on the general "homepage.css". The only thing how I can make it work, is to restart the whole WAS/NW!

(On my client side I have refreshed whatever cache/temp I have)

Thanx,

Florian

Accepted Solutions (0)

Answers (2)

Answers (2)

jcgood25
Active Contributor
0 Likes

I don't suppose you are hacking the NetWeaver file system and modifying these files directly? If you are editing the relevant files in the workbench it should automatically be published for WebAS.

Regards,

Jeremy

Former Member
0 Likes

Jeremy,

how can I edit files like "DefaultHeader.xml" in the workbench? Say, I want to change the text "xMII" you see in the top left corner of the portal into something else "MyFirstPortal"...where do I change it? Or the branding in the page? I thought it cannot be done in the workbench.

Michael

Former Member
0 Likes

Michael and I have the same problem. Within xMII you can change certain things, but not the general apperance ot Header, Footer, Navigation ...

Therefore you have to go to the filesystem and change the files.

AND my client is as empty as it can be. So this is a server-issue!!!

Any advise would be very much appreciated!!

rgds, Florian

jamie_cawley
Product and Topic Expert
Product and Topic Expert
0 Likes

In the downloads section on this site under "for manufacturing" you'll find

xMII 12.0 Sample Projects and Tools

In this section there is a "Sample content" project.

This contains all of the stylesheet files for the home page. You should copy the desired files from this project into your project and modify them accordingly. Then apply this theme to the desired roles.

Regards,

Jamie

Former Member
0 Likes

Jamie, Florian,

I succeeded in changing the text "xMII" at the left to corner of the portal. I took Jamie's hint and changed the files as follows:

- in the workbench, I created a new folders: 1.) /MYPROJECT/Themes and 2.) /MYPROJECT/Themes/src

- from /XMII/Themes I copied the file DynamicHomePage.xsl to the folder 1.)

- from /XMII/Themes/src I copied the file DefaultHeader.xml to folder 2.)

- in the DynamicHomePage.xsl I changed the "HeaderURL" in the User Configurable Paramaters section to /XMII/CM/MYPROJECT/Themes/src/DefaultHeader.xml

- in the xMII Portal in "Navigation Services > Navigation" I set the Theme paramater for the desired role (XMII-Admin in this case) to /XMII/CM/MYPROJECT/Themes/DynamicHomePage.xsl

After deleting all temporary files the new contents was displayed correctly.

Regards

Michael

Edited by: Michael Otto on Feb 14, 2008 3:49 PM

It seems that you have to re-logon to see the changes.

jcgood25
Active Contributor
0 Likes

Michael,

The relogin process should reflect the changes as you have seen, but the Refresh hyperlink in the top right hand corner should do the same thing.

Regards,

Jeremy

Former Member
0 Likes

Jeremy,

yes, you are right. Refresh displays the changes.

Thanks!

Michael

HariCS23
Contributor
0 Likes

Hi Florian,

In XMII 12.0, We can change the xsl files by using the web tab of the work bench.

( But Those files should be in the one of the project folder )

Thanks

Hari

salvatore_castro
Product and Topic Expert
Product and Topic Expert
0 Likes

Florian,

The cache you are referring to is probably your browser cache, try press Ctrl-F5 to refresh your page from the server instead of from your local browser cache.

Sam

Former Member
0 Likes

Sam,

I guess Florian meant something else. I have also changed a setting inside the file xMII-Root/Themes/src/DefaultHeader.xml.

However, is will not be shown after Ctrl-F5 or delete temporary files in the browser. Only our server is reset (usually this is every weekend) the new values are displayed.

Is there another way to do it?

Regards

Michael

salvatore_castro
Product and Topic Expert
Product and Topic Expert
0 Likes

Any changes to the xMII content wont be shown until the Java Cache is cleared in the browser on the client.

Tools -> Sun Java Console and press 'x'

You should see "Clear classloader cache ... completed."

Then next time the page loads, the new values should appear.

Also there is a 'Refresh' link in the top right of the page which will refresh your page content as well.

Sam

Edited by: Salvatore Castro on Feb 13, 2008 9:08 AM