Skip to main content
added 2 characters in body
Source Link
Marko Milic
  • 8.9k
  • 3
  • 24
  • 60

You could use the good old GetBluePrintChain(BluePrintChainFilter filter)GetBluePrintChain(BluePrintChainFilter filter) for this maybe? This gives you all child pages based on the current page you're processing.

As a quick example:

BluePrintChainFilter b = new BluePrintChainFilter(engine.GetSession());
b.Direction = BluePrintChainDirection.Down;
foreach(RepositoryLocalObject r in page.GetBluePrintChain(b))
{
    log.Debug(r.WebDavUrl);
}

You could use the good old GetBluePrintChain(BluePrintChainFilter filter) for this maybe? This gives you all child pages based on the current page you're processing.

As a quick example:

BluePrintChainFilter b = new BluePrintChainFilter(engine.GetSession());
b.Direction = BluePrintChainDirection.Down;
foreach(RepositoryLocalObject r in page.GetBluePrintChain(b))
{
    log.Debug(r.WebDavUrl);
}

You could use the good old GetBluePrintChain(BluePrintChainFilter filter) for this maybe? This gives you all child pages based on the current page you're processing.

As a quick example:

BluePrintChainFilter b = new BluePrintChainFilter(engine.GetSession());
b.Direction = BluePrintChainDirection.Down;
foreach(RepositoryLocalObject r in page.GetBluePrintChain(b))
{
    log.Debug(r.WebDavUrl);
}
Source Link
Raimond
  • 7.3k
  • 18
  • 29

You could use the good old GetBluePrintChain(BluePrintChainFilter filter) for this maybe? This gives you all child pages based on the current page you're processing.

As a quick example:

BluePrintChainFilter b = new BluePrintChainFilter(engine.GetSession());
b.Direction = BluePrintChainDirection.Down;
foreach(RepositoryLocalObject r in page.GetBluePrintChain(b))
{
    log.Debug(r.WebDavUrl);
}