Is there any AEM API which can give me the status of given content fragment when fetched by path whether it is published or not?
CURL https://BASEURI/.../_path
expected response: {"isPublished":true or false}
something like that
Can we programatically get status of an asset if its published or not? After we publish the Content Fragments they won't show up in GQL queries of published endpoints. What is the delay of results to get reflected in GQL query results if there is any? I have unpublished an asset right away (using re...
I am able to upload and update assets in AEM programatically however I wanted to know what's the way to publish or unpublish them? Any docs or references would really help!
Mostly using Java 11 should solve your problem.
brew install cask java11
If cask is not installed:
brew install cask
Make sure that when you try to run aem jar file next time it must be running through java11. You can setup the alias for java11 in .zshrc file:
export JAVA_11_HOME=$(/usr/libex...
Nope that's not correct. Neither totalCount sits as an attribute in any of the lists and exploring schema doesn't show any such attribute either because it doesn't exist in first place.
Hi @krati_garg thank you very much for quick response.
I was trying to fetch it using ...ImageRef instead I should have used ...DocumentRef for svg. Thanks