sivaprasad9394
Occasional Collector

How to get the Hotdeployment page and its MEDIA reference in module code??

Jump to solution

Hello,

How to get the Hotdeployment Task site-store page (it may be one or more page selected) IDprovider and its reference media Elements?

1_deployment.png  2_deployment.png

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.

0 Kudos
1 Solution

Accepted Solutions
tenter
I'm new here

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

View solution in original post

0 Kudos
1 Reply
tenter
I'm new here

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 Kudos