I am looking for an API to use which can create the Image sets and I found a one and that is deprecated "7SetHelper.html"
eg :
https://javadoc.io/static/com.adobe.aem/aem-sdk-api/2021.7.5658.20210723T140305Z-210600/comeg /day/cq/dam/commons/util/S7SetHelper.html
can anyone give me a suggestion ..
Solved! Go to Solution.
Views
Replies
Total Likes
Hi Sham,
Welcome to Adobe Community !!
To create an Image Set, please use Scene 7 IPS API
More information available here :
Thanks,
Vikram Gaur
Hi Sham,
Welcome to Adobe Community !!
To create an Image Set, please use Scene 7 IPS API
More information available here :
Thanks,
Vikram Gaur
We have a requirement where a SpringBoot Application need to create ImageSet in AEM , we plan to use S7SetHelper and ImageSet method, but as per the documentation (https://javadoc.io/static/com.adobe.aem/aem-sdk-api/2021.7.5658.20210723T140305Z-210600/com/day/cq/d...) - they have been depreciated and will be replaced by a new API in future release Wondering if there is new APIs providing this feature, we are blocked as we have to create ImageSets dynamically ... If no APIs has been released then do we have any other option to achieve this.
There is an option in AEM to setup the auto batchsets creation by providing the Regex patterns based on the imagenames.
Please check below help
Yaa these are the steps if have the image name and details, and we would be getting the image name from the springboard application if there a API then we can pull it from there ... so this works but not for this requirement ...
I'm trying to follow this example from Adobe in a different way as mentioned below....
MY Code:
public class CreatingJcrNodes {
public static void main(String[] args) throws Exception {
try {
//Create a connection to the CQ repository running on local host
Repository repository = JcrUtils.getRepository("http://localhost:4502/crx/server");
//Create a Session
javax.jcr.Session session = repository.login( new SimpleCredentials("admin", "admin".toCharArray()));
//Create a node that represents the root node
Node root = session.getRootNode();
// Store content
Node adobe = root.addNode("adobe");
Node day = adobe.addNode("day");
day.setProperty("message", "Adobe CQ is part of the Adobe Digital Marketing Suite!");
// Retrieve content
Node node = root.getNode("adobe/day");
System.out.println(node.getPath());
System.out.println(node.getProperty("message").getString());
// Save the session changes and log out
session.save();
session.logout();
}
catch(Exception e){
e.printStackTrace();
}
}
}
Error : javax.jcr.RepositoryException: Unable to access a repository with the following settings:
I've found a number of articles both here and on other sites but none of the suggestions I've found have done anything to resolve the issue.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies