Thanks @Aditya_Chabuku I really need a parsys since the ask is to drop a
component. That is the way it was somehow designed .. I don’t have a
listener as such to the parent.. how do you suggest I do so ? I thought
of refreshing the page after drag drop of asset onto the component
placeholder (there is no droptarget image per say just an empty
placeholder) and thereby attaching it to the child but adding after
insert edit etc did not trigger page refresh kindly suggest
Hello All, Does anyone know if there is a bug with image/dynamic media
droptarget listeners for the touch UI?I have a component A, and it
includes component B. Component B is a dynamic media/video component,
where user drags the asset from the content finder/Assets rail onto the
component B drop target/placeholder. I wanted to refresh the page on
drag drop. Although listeners are set for after insert after edit, i
still do not see any refreshes occurring. Is it some sort of inline
listener that ...
My observation on the api is that it creates the entire non existent
folder path. The jcr content nodes , that should exist associated to the
folder does not get created . jcrutils is not recommended per the last
ref doc sent over, @sachinarora so skipping for these reasons Using
resourceresolver.create is recommended per the doc and acs folder
creator so using it . But looks like it needs saves after every create ,
which means one for folder and one for jcr content. But this is not
super clear ...
@SantoshSai Do you know of unpublish, based on my observations it is the
same as replication where it is targeted to the specific path to
activate or deactivate via api vs all it’s children. The problem is
since not all resources may or may not be published , I can’t replicate
the tree . By tree replication, first glance , it is iteration and
activating one resource at a time ? It invalidates but does not
unpublish IMO ?
I think i might have the answer, let me know your thoughts, not sure of
any limitation wrt api replicator.getActivatedPaths(session, path);- get
the string path array and then deactivate. String pathArray =
Hi, Tried checking replicator.replicate option for activate, but it only
activates the node and not sub nodes, and node can be a sling folder or
dam:asset. The same with deactivate. Is this the expected behavior via
api? I would also like to avoid replication of a subfolder A, if there
are children in that sub folder , that have not been replicated . Same
with deactivation. What is the best approach other than traversal or
query builder query? can/should sling query be used?
Thanks @sachinarora .My question would be does .create method auto save?
I would have expected jcrutils.createPath to create nodes and jcrcontent
if it does not exist , but does not seem to be the case We don't care of
references at the moment so i believe assetmanager.move should do , can
you please elaborate on sling jobs approach for this.
All, I am trying to create folders and move assets- performing bulk
moveAnyone knows 1. if jcrutil.createPath can help me best create nodes
that are sling:folders WITH jcr content? I tried using.createPath which
created missing nodes but no jcr:content. Want to confirm and know i am
not missing something that could help me create a folder with jcr
content using createPath command.trying to save on commits 2. Also i
ended up using resourceresolver.create , creating folder along with it's
Thanks both of you @Shiv_Prakash_Patel @SantoshSai I happened to notice
that acs dispatcher ttl was set on pub config run mode and was being
picked up so that explained the duration that the origin was picking up
but it ended up being cloudfront that was not invalidating due to
config. Much appreciated guys!