Skip to Content
author's profile photo Former Member
Former Member

schedule generating site map with KM Scheduler

Hi everyone, as it takes a long time for a user to generate a site map and then get it displayed on the client side. From SDN I found all the solutions for site map are implemented in DynPage class.

I know executing DynPage is iView or browser window dependent. So it seems impossible to schedule this kind of portal component application with KM Scheduler.

I do hope there is a trick to do this. If there is no is any solution by now to execute like DynPage class with KM Scheduler ?

Kind regards.

Wang

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Oct 12, 2006 at 01:22 PM

    Hi,

    generally you can create a service which will implement ISchedulerTask (in NWDS create portal application object -> RF Component Wizard -> Scheduler Task Wizard). This service will be accesible in KM configuration so you can schedule it as you wish. This service will "cache" the data for your sitemap iview.

    Alternatively you can create a "standard" service, which will fetch the data in periodic intervals. In run method of the service you use something like this:

    while (true) {
      try {
        Thread.sleep(WAITINTERVALINMILISECONDS);
      } catch (Exception ex) {
      }
      // now call the method for fetching 
      // the data for your sitemap...
    }

    Hope this helps a bit,

    Romano

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.