I don't believe there is a way to publish just a property and not the entire page unfortunately. I think you'd have to build your own mechanism that could build up a list of properties that are to be published and when, then automatically update the content item's property with the new value and publish then entire page.
What exactly are you trying to achieve as there might be a better way of doing it.
I am thinking to add a new property with date picker type to let the content editor set the scheduled date they want to publish some properties.
And then when the page load I send an AJAX to UmbracoApiController to get that scheduled date from UmbracoHelper(UmbracoContext.Current), only show those properties values via js if it is equal or greater than the scheduled date.
I'm just trying to understand what the purpose of it is to be honest. Do you have an actual scenario that this applies to? So more a real-world example rather than a technical explanation?
Hi, Nik, I have a use case that I only want to schedule publishing the banner property in a page while other properties in that page should be instantly published
So, the banner is essentially a conditional based on a date/date range?
What I would do in that scenario is use something like Nested Content to define Banners. Banners could contain properties such as Date Valid From and Date Valid To. You could then use these properties to help determine what banner to show for what period.
This would, however, mean that all banners are "published" to the cache, but your front end code then decides which it should show.
That could help you achieve what you are after :-)
how to scheduled publishing some specific properties in back office
Hi , guys, is there any ways to only do the scheduled publishing for some specific properties of one page instead of the whole page?
Thanks,
A
Hi Adrian,
I don't believe there is a way to publish just a property and not the entire page unfortunately. I think you'd have to build your own mechanism that could build up a list of properties that are to be published and when, then automatically update the content item's property with the new value and publish then entire page.
What exactly are you trying to achieve as there might be a better way of doing it.
Nik
Thanks for the reply, Nik.
I am thinking to add a new property with date picker type to let the content editor set the scheduled date they want to publish some properties.
And then when the page load I send an AJAX to UmbracoApiController to get that scheduled date from UmbracoHelper(UmbracoContext.Current), only show those properties values via js if it is equal or greater than the scheduled date.
What do you think?
Thanks,
I'm just trying to understand what the purpose of it is to be honest. Do you have an actual scenario that this applies to? So more a real-world example rather than a technical explanation?
Hi, Nik, I have a use case that I only want to schedule publishing the banner property in a page while other properties in that page should be instantly published
Hi Adrian,
So, the banner is essentially a conditional based on a date/date range?
What I would do in that scenario is use something like Nested Content to define Banners. Banners could contain properties such as Date Valid From and Date Valid To. You could then use these properties to help determine what banner to show for what period.
This would, however, mean that all banners are "published" to the cache, but your front end code then decides which it should show.
That could help you achieve what you are after :-)
Nik
is working on a reply...