Get session of file(s) that are in content repository to use in connector Email

Tagged:
  • Palanisamy
        4 years ago #19624

        Hi,

        I want to send Email with attachments using connector call. The files to be attached actually should come from the content repository. i am using Clear File system content repository. In my connector call there is a parameter called “ListOfAttachments” which is a list of struct and one of the struct data element is “session” of the file. So my question is how to get the value of the session using the ClearFileSystem content repository connector calls. I checked all of the calls on this connector, I don’t see any direct way of getting the value of the session of file or multiple files by referencing the content repository id, folder path and file name(s). Please help.

         

        Thanks & Regards,

        Palani

        Mathieu Roll
            Has successfully completed the online course Introduction
            Has successfully completed the online course Intermediate (200)
            Has successfully completed the online course Advanced (300)
            Has successfully completed the online course Basics (100)
          4 years ago #19626
          Up
          0
          Down
          ::

          Hello,

           

          the attachements are not using the content repo here we have a own upload session wich is implemented nativly into simplifier and not in a plugin.

          to upload your file correct you can use the function within the CommonController.

          You can find an example in the ITIZ_Utilities Client Side BO in the function UploadFile.

          Here you need the file in Blob format and than you will get the sessionkey.

          Palanisamy
              4 years ago #19630
              Up
              0
              Down
              ::

              Hi Malfurion,

              Thanks.

              If I correctly understood you, I have to use “UploadFile” function in “ITIZ_Utilities” to get the session of the file (from blob format). Now I would like to ask you how to get the blob format from content repository (ClearFileSystem). Because I don’t want to upload the files from the computer. The files are in content repository and in one of screen i am displaying as a list of files. Users can be able to see the file list and if they wish they can select a file like selecting the  check box and press a button to send the file by Email. I know the file(s) are displayed as a result and they are not blob format. But I want to use the functions (may be in clearfilesystem content repository) to get the blob of the file and then I can use ITIZ_Utilities UploadFile funtion to convert this blob into session. Is it possible?

              Please note that it is a mandatory requirement that users do not want to upload from the computer. If not possible what is the alternate way to satisfy this requirement?

              Thanks & Regards,

              Palani

              Palanisamy
                  4 years ago #19637
                  Up
                  0
                  Down
                  ::

                  Hi,

                  Could you please help me on this question?

                  Thanks & Regards,

                  Palani

                  Palanisamy
                      4 years ago #19649
                      Up
                      0
                      Down
                      ::

                      Hi,

                      Could any one of you help me on my problem?

                      Thanks & Regards,

                      Palani

                      digitalysator
                          Has successfully completed the online course Introduction
                          Has successfully completed the online course Intermediate (200)
                          Has successfully completed the online course Advanced (300)
                        4 years ago #19655
                        Up
                        0
                        Down
                        ::

                        Hello Palanisamy,

                        in urgent cases please request a ticket as mentioned in the guidelines: community.simplifier.io/forum/topic/forum-guidelines/

                        Best regards

                        Armin Winkler
                            Has successfully completed the online course Introduction
                            Has successfully completed the online course Intermediate (200)
                            Has successfully completed the online course Advanced (300)
                            Has successfully completed the online course Basics (100)
                          4 years ago #21775
                          Up
                          0
                          Down
                          ::

                          Hello Palani,

                          the file url given from the Content Repository can be converted to a blob by utilizing the function “readFileByUrl” of the client-side business object “SIMP_FileHelper”.

                           

                          Regards,

                          Armin

                        Viewing 7 posts - 1 through 7 (of 7 total)

                        You must be logged in to reply to this topic.