There is not full implementation of mentioned link. | Community
Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Pulkit_Jain_

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_

 


@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-experience-league/ba-p/461737 

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

1 reply

Pulkit_Jain_
Adobe Employee
Adobe Employee
September 25, 2023

@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-draft-letters.html?lang=en#eclipse-project 

MunmunBoAuthor
Level 3
September 25, 2023

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.

 

@9944223
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;
}

Pulkit_Jain_
Adobe Employee
Adobe Employee
September 25, 2023

@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.