How to get the Hotdeployment page and its MEDIA reference in module code??
Author: sivaprasad9394
Publication Date: 11/8/2017 8:54
Hello,
How to get the Hotdeployment Task site-store page (it may be one or more page selected) IDprovider and its reference media Elements?

instead of passing siteStore i would like to pass the Site-store page reference selected.
final Listable<IDProvider> siteStoreElements = getMappingElements(siteStore);
private Listable<IDProvider> getMappingElements(final Store store) {
return store.getChildren(new TypedFilter<IDProvider>(IDProvider.class) {
/**
*
*/
private static final long serialVersionUID = -4891716671330380304L;
public boolean accept(final IDProvider idProvider) {
return !idProvider.isFolder();
}
}, true);
}
I would like yo get the media reference for the same pages.(I have to generate unique ID for some reference like short-id)
Thank you.
Tags: hotdeployment
-
Author: tenter - 11/22/2017 12:39
Hi Siva,
I found another thread created by you that indicates that you may have already solved the problem by yourself: https://community.e-spirit.com/thread/8761
Could you give us a hint if you still need help at all?
Thanks,
Hannes
0
Please sign in to leave a comment.
Comments
1 comment