Views
Replies
Total Likes
Here are the steps that you can follow to raise a support ticket -
Although these steps are specific to the workfront, they also apply here.
There is a reference implementation project already shared here[0].
Are you facing any issues with the same?
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;
}
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.
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_
Here are the steps that you can follow to raise a support ticket -
Although these steps are specific to the workfront, they also apply here.
Views
Likes
Replies
Views
Likes
Replies