내 커뮤니티 업적 표시줄을 확대합니다.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

Delete synchronization of Asset with AEM DAM and Scene 7

Avatar

Level 2

Hi,

We are facing an issue with delete synchronization of asset in DAM and Scene7. The details is below:

 

We had to delete asset from Scene7 dam through AEM but we are not able to delete the assets.

The approach we followed are:

1.       By means of Scene 7 API available as bundle in AEM: 
The issue we are facing is: When we get resource from Scene7 folder located in DAM and trying to convert it as Scene7Asset type as per above code .It is not casting to Scene7Asset and returning null value. So it is stopping to get asset handle, which is required to pass into delete method. The code is attached in the email.

2.       By means of web services: https://marketing.adobe.com/resources/help/en_US/s7/ips_api/ipsapi.pdf

We are not able to find the path of WSDL: [https://%3cIPS_hostname:/]https://<IPS_hostname:// webservice/IpsApi[-].wsdl

 

Please reply back if you have any suggestion to solve above issue.

However, I read one adobe article in which i saw that it is the limitationdesign implication of integration of AEM with Scene7 that If you delete assets in AEM, they are not reflected in Scene7.

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Level 10

I know i am late responding to this query, but what you can do is,  pick the scene7id stored in aem for the asset,

@Reference
    private Scene7Service s7Service;

                       Scene7Asset scene7Asset  = s7Service.getAssets(new String[]{scene7ID}, null, null, config).get(0);

                            s7Service.deleteAsset(scene7ID, config); // Deletes the asset with the "-AVS" 

 

Let me know if you have any question. I have implemented this as a workflow step

원본 게시물의 솔루션 보기

1 답변 개

Avatar

정확한 답변 작성자:
Level 10

I know i am late responding to this query, but what you can do is,  pick the scene7id stored in aem for the asset,

@Reference
    private Scene7Service s7Service;

                       Scene7Asset scene7Asset  = s7Service.getAssets(new String[]{scene7ID}, null, null, config).get(0);

                            s7Service.deleteAsset(scene7ID, config); // Deletes the asset with the "-AVS" 

 

Let me know if you have any question. I have implemented this as a workflow step