Moderators:TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan
Forum rules DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.
When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
I am using the following code to add attachments from my database to a document. The problem is, even though I am settings the attachment "DisplayName" it still displays the fileName?
Dim nID As Integer = Me.docPreview.Inst.Str2ID("op.attachments.add", False)
Dim Op As PDFXEdit.IOperation = Me.docPreview.Inst.CreateOp(nID)
Dim input As PDFXEdit.ICabNode = Op.Params.Root("Input")
For Each myRow As DataRow In myResults.myDataset.Tables("Attachments").Rows
Try
input.Add().v = Me.docPreview.Doc
Dim options As PDFXEdit.ICabNode = Op.Params.Root("Options")
Dim destPath As PDFXEdit.IAFS_Name = fsInst.DefaultFileSys.StringToName(MISData.Instance.DocShareName & "\Attachments\" & myRow.Item("attachmentOID").ToString.ToUpper & "." & myRow.Item("fileExt").ToString.ToUpper)
options("FileName").v = destPath
Console.WriteLine(myRow.Item("fileName").ToString.ToUpper() & "." & myRow.Item("fileExt").ToString)
options("DisplayName").v = myRow.Item("fileName").ToString.ToUpper() & "." & myRow.Item("fileExt").ToString
options("MimeType").v = myRow.Item("fileType").ToString.ToUpper()
options("Description").v = myRow.Item("fileDesc").ToString.ToUpper
Op.Do()
Catch ex As Exception
End Try
Next
A little bit more information, it seems that the "DisplayName" is being held, however the actual Attachments UI Grid displays the fileName not the DisplayName. Am I able to fix this somehow?
I've investigated and hopefully fixed this - this was an inner logic - the display name and the FileName were similar in all of the cases that they were used in the End-User Editor - thus this was not noticed. The fix will be available from the next build (end of June hopefully).
I don't have the End-User editor installed. Is there not a way to get notification through your website. I obviously have an account and license for the Editor SDK, should this not email me when you upload a new version?
If not I will install the end-user editor to achieve this.
We are not mailing this because this can be considered as spam for majority of people. What you can use for now is news on our website or the login popup messages that we display when you login to our website.