Expand my Community achievements bar.

Applications for the 2024-2025 Adobe Experience Manager Champion Program are open!
SOLVED

There is not full implementation of mentioned link.

Avatar

Level 3
1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

@MunmunBo 

Here are the steps that you can follow to raise a support ticket -  

https://experienceleaguecommunities.adobe.com/t5/workfront-blogs/how-to-submit-a-support-ticket-on-e... 

Although these steps are specific to the workfront, they also apply here.

View solution in original post

5 Replies

Avatar

Employee Advisor

@MunmunBo 

There is a reference implementation project already shared here[0].

Are you facing any issues with the same?

[0] - https://experienceleague.adobe.com/docs/experience-manager-learn/forms/store-retrieve-letters/save-d... 

Avatar

Level 3

Full implementation is not mentioned  like there is a method and inside that we have

  CCRDocumentInstance and CCRDocumentException but there is impementation of this classes in the document.

 

@Override
public CCRDocumentInstance get(String draftID) throws CCRDocumentException {

String selectStatement = "Select documentID from aemformstutorial.icdrafts where draftID='" + draftID + "'";
log.debug("The select statement is " + selectStatement);
Connection connection = getConnection();
Statement statement = null;
String documentID = "";
try {
statement = connection.createStatement();
ResultSet rs = statement.executeQuery(selectStatement);
while (rs.next()) {
documentID = rs.getString("documentID");

}
} catch (SQLException e) {
log.debug("The error is " + e.getMessage());
}
Document draftData = new Document(new File(draftID + ".xml"));
CCRDocumentInstance draftInstance = new CCRDocumentInstance(draftData, "abc", documentID, CCRDocumentInstance.Status.DRAFT);
draftInstance.setId(draftID);
return draftInstance;
}

Avatar

Employee Advisor

@MunmunBo 

We have done a similar reference implementation for another customer sometime back and I think that might help.

Please raise a support ticket and we can share a sample with you.

Avatar

Level 3

I don't have permission to raise a support ticket.The open ticket and my cases are disable for me.Can you guide how can i raise a support ticket @Pulkit_Jain_

 

Screenshot from 2023-09-25 14-31-59.png

Avatar

Correct answer by
Employee Advisor

@MunmunBo 

Here are the steps that you can follow to raise a support ticket -  

https://experienceleaguecommunities.adobe.com/t5/workfront-blogs/how-to-submit-a-support-ticket-on-e... 

Although these steps are specific to the workfront, they also apply here.