Home Forums DocXtender and NavXtender Adding docXtender to New Page

Tagged: ,

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • Josh ErlangerJosh Erlanger
      Post count: 1

      Im trying to add docXtender with the fact box on a custom page but im get the error

      “The record is not open”

      How can i fix this?

      Travis PlettTravis Plett
        Post count: 132

        Make sure that you can attach a file manually before trying to use DocXtender on a new page.

         

        The Business Central page must have a “Document Attachment FactBox” pointing at a valid single record on any page you want to use DocXtender. The Attachment or Link factbox (not just the tab) must also be visible, so you may need to open personalization to add it. To add attachments to any Business Central page that does not include the factbox, see: http://kb.dmsiworks.com/knowledge-base/extend-for-drag-and-drop-document-attachments-to-any-table-and-page/ (this only adds the drag & drop function – you still need to add the attachment function to the page first).

         

        Note that Journals use the Document Attachment Overview table (137) instead of the Document Attachment table (1173), so they are not supported by DocXtender.

        Sergio LlopisSergio Llopis
          Post count: 2

          Hello Travis

          As we hadn’t seen this post before and didn’t realised about your note about the Journals, we asked our MS partner to add the code you mention in Journals. We told them before that Attachments should be active. We use it (in SharePoint mode) and it works, but there are two unexpected behaviours that we noticed:

          1. When manually inserting Journal lines, we have to leave a blank first Journal line. If not, this first line does not keep the SharePoint link (but the file is sent to SP)
          2. When invoicing (providers or customers), all Journal lines that come from invoices creates new links to some documents they are not related to.

          If something comes to your mind that could aid, we acknowledge your help in advance.

          Thank you.

          Travis PlettTravis Plett
            Post count: 132

            Because journals use the Document Attachment Overview table (137) instead of the Document Attachment table (1173), you would need to use the base Business Central attachment drag & drop instead of DocXtender. This will ensure that you are getting to proper flow of attachments down to the posted documents.

            Sergio LlopisSergio Llopis
              Post count: 2

              Ok, thank you. I understand, but we chose DocXtender in order not to use attachments of BC that make the database get bigger. So using BC attachments drag and drop is not what we needed.

            Viewing 5 posts - 1 through 5 (of 5 total)
            • You must be logged in to reply to this topic.