Options

Error "You have Canceled the Creation Process" when try to create/open Word Template

aod74aod74 Member Posts: 4
I have the issue described here

https://dynamicsuser.net/nav/f/technical/33092/cannot-create-word-template-attachment-you-have-canceled-the-create-process#

with NAV 2016 & Word 2013. When I try to Create/open a template Word pops up in the Task bar and closes within a second.

NAV says :"You have canceled the create process."

Error comes From T5103 - last line of this Function:
CreateAttachment()
  IF "Attachment No." <> 0 THEN BEGIN
    IF Attachment.GET("Attachment No.") THEN
      Attachment.TESTFIELD("Read Only",FALSE);
    IF NOT CONFIRM(Text001,FALSE) THEN
      EXIT;
  END;
  
  NewAttachNo := WordManagement.CreateWordAttachment("Interaction Template Code" + ' ' + Description,"Language Code");
  IF NewAttachNo <> 0 THEN BEGIN
    IF "Attachment No." <> 0 THEN
      RemoveAttachment(FALSE);
    "Attachment No." := NewAttachNo;
    IF InteractTmplLanguage.GET("Interaction Template Code","Language Code") THEN
      MODIFY
    ELSE
      INSERT;
  END ELSE
    ERROR(Text000);

It seems, that NAV can't create the Word File.. Anybody knows why ?



Thank you
Sign In or Register to comment.