Hot answers tagged

2

We had similar kind of setup... We created path forwarding rules for all the sdl micro services. We treated deployer and content service separately. Synopsis of what we did: Configured all services on the deployer boxes using lb domain name... this you can do by replacing server name with lb name in the cd_storage file of the respective service and ...


2

I've also seen this before and believe that it is expected behaviour (as the CD code is running in a JVM), but that it's just not documented very well. As Paul Draper says here: Using forward slashes will make it system independent. I'd stick to that for simplicity. However, as he also says, there are ways to allow either within the code, so this ...


1

Although Velu provided you with the code sample, you should understand what IsPublished() overload methods do. There are few overload methods and most of them are combinations of the same parameters (if item is published to some publication target or not, or to some target type). What you need to take a detailed look in Velu's code is the "true" parameter ...


1

Try this function for checking the page is published or not: private bool IsPublished(Page page) { if (Engine.PublishingContext?.PublicationTarget != null) { return PublishEngine.IsPublished(page, Engine.PublishingContext.PublicationTarget, true); } if (Engine.PublishingContext?.TargetType != null) { return PublishEngine....


Only top voted, non community-wiki answers of a minimum length are eligible