/ Forums / Advansys Formativ / Creating Solutions with Formativ / HowTo re-enable the save draft folder dialog

  • Creator
    Topic
  • #4197
    Immi
    Participant

      Hello world!

      In my project I seem to run from une stumbling block to the next…

      How can I re-enable the ‘save draft / folder list’ dialog once a draft message has been saved?

      Regard
      Stephan

    • Author
      Replies
    • #7460
      Support 1a
      Participant

        There are no API’s provided by Novell that do this. The only I can think of would be to update the message in some way (i.e. add a space to the subject, then remove it) which might cause the client to recognise the message as requiring a resave.

        Regards,

        Advansys Support

        #7457
        Immi
        Participant

          >>(i.e. add a space to the subject, then remove it) which might cause the client to recognise the message as requiring a resave.

          This just makes the ‘save button’ active again.
          However I need the ‘folder dialog’ to reappear so that I can save the msg to the folder of my choice.
          Maybe I have to unlink the msg from all folders. How would I do this?

          Stephan

          #7456
          Support 1a
          Participant

            Try

            GroupWise.ItemSaveMessageDlg()

            or

            GroupWise.ItemSaveMessageDraft(“”)

            Advansys Support

            #7458
            Immi
            Participant

              Hi!

              GroupWise.ItemSaveMessageDlg()or GroupWise.ItemSaveMessageDraft(“”) are ways to save the draft message (again).

              However I need the ‘Select folder’ dialog activated again, so I can say where where I want o save the new draft message to be stored.

              Background: In order to have access to the ExpandedRecipient property I need to save the message as a
              draft message in the ‘work in progress folder’. I do this per ItemSaveMessageDraft(Work In Progress Folder).

              So far no problem.

              I now access the ExpandedProperties with an OnSend-applet. If the user decides NOT to send the message he gets redirected to the open message.

              Now it’s time to remove the left over draft message since the user should not notice the trick with the draft message.

              That’s where the trouble starts: Since the message was once stored (and later removed from the ‘work in progress folder’), a subsequent click on the save button just saves the message in the mailbox folder (root folder?). How can I make the ‘Select folder’ popup again on the ‘save draft msg’ button so the user can specify where to save the draft message?

              Stephan

              #7459
              Support 1a
              Participant

                If the tokens mentioned above only resave the message, then I am not aware of any way to make this happen. It sounds like you only see the dialog the first (and only the first) time the message is saved (i.e. added to the message store).

                You may wish to ask this question in one of the Novell DeveloperNet forums, as this is GroupWise API/Client feature question. Those forums are monitored by Novell engineers who may have other suggestions for you.

                Advansys Support

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