Forum Replies Created
-
AuthorReplies
-
You would need to install Formativ using the ‘Copy Settings for All Users’ option. This causes the registry entries to be written to:
HKEY_LOCAL_MACHINESOFTWAREAdvansys Corporationformativ1.0
from where they are copied down to each new user.
You could duplicate this behavour by ensuring the following key exists in the above key location:
No Solutions Warning=0
I hope this helps.
Advansys Support
That’s great news – thanks for the update.
Regards,
Advansys Support
Sorry for the delay. We have prepared an update to Personalised Emailer that includes a ‘Do not filter duplicate recipients’ feature. I expect the update should be available from our web site by the end of this week.
If you would like to obtain a copy directly, please send an email to support@advansyscorp.com. (I could not locate youe email address in the support forum members log).
Regards,
Advansys Support
Try:
Message Saver Pack,ABC123
where ABC123 is your registration code. Note the spaces between then words in ‘Message Saver Pack’.
I hope this helps.
Advansys Support
The best resources are the Developers Guide (installed with Formativ Creator and Studio), and the Novell Object API documentation (linked from the FormativCentral Help menu item).
You’ll also find links to where you can access documentation for the components in the Creator and Studio Readme files.
I hope this helps,
Advansys Support
Thanks for the update.
Let us know if you require any further assistance.
Regards,
Advansys Support
Hi,
Engineering have suggested the following:
Utilities.CopyHTMLToClipboard("<br><IMG src=""file:///D:/CUSTOMVIEWS/ACTIVITYROOM/REGULARACTIVITY.JPG"">") call groupwise.focusset(fcsMessage, "") GroupWise.EditPaste
Let me know if that works for you.
Regards,
Advansys Support
I have posted a very simple example at:
http://www.advansyscorp.com/demo/custom_appointment.vbf
You may need to right mouse click this link and select ‘Save As’ to save the applet. Copy it to your local applets folder and restart your GroupWise client (Restarting is very important).
On restarting, you should see a new calendar icon on the main GroupWise toolbar. Pressing this button brings up a custom appointment dialog. Start to enter your name in the recipient field, which should expand to automatically enter your ID (this is the GroupWise name completion control). Enter a subject and body text, then press send.
A custom appointment then appears in your mailbox. It should have a rose as its icon. Open it as you normally would. Instead of the standard GroupWise appointment view, the custom view will appear again.
The applet defines a custom message type: GW.MESSAGE.APPOINTMENT.CUSTOM. If you have a look at the integrations tab, you’ll see this context listed among the other supported type. Notice the applet has completely overridden the ‘OnOpen’ event. In other words, when a user open an instance of this message type, the applet runs instead of GroupWise simply opening the message. The applet then accesses the underlying GroupWise message in order to extract the subject, body, etc.
Examine the source code to get a feel for how it works. This example contains no error checking, and is very simple. You would need to expand it to offer all the features you require. Hopefully it will give you a good understanding of how to create a custom message.
Good luck!
Advansys Support
Given an active HTML message view, two suggestions come to mind:
Some suggestions…
1) Copy the html contents into clipboard and later paste into message
Utilities.CopyHTMLToClipboard("<HTML><BODY background=C:imagesrosebouquetbg.jpg></BODY></HTML>") call groupwise.focusset(fcsMessage, "") GroupWise.EditPaste
2) Use the HTMLDom to update the message
Utilities.IHTMLDocumentFromView(oDocument)
See the Developers Guide for more details on this approach.
Regards,
Advansys Support
Hello Simon,
This is difficult question for me to answer, as I’m not entirely sure of your process. To reiterate my understanding, your application uses tokens to create a draft email message and set some properties (including some custom value in the view name). You have a Formativ applet integrated with some of the standard email events like on send etc. When these events fire, what kind of information do you send to your VB application?
Until a message is saved in the message store, you can’t use any GroupWise-supplied unique ID’s (like the MessageID property) to identify the message. The only approach that springs to mind would be to obtain the Windows handle of the newly create email message view and save it in your VB app. Your applet that fires in response to message events in GroupWise could grab the active window handle and send that along with the change information. You VB app could then match change information with the correct message via saved Windows handles.
In terms of your question about the viability of editing the view name in the way you describe, I can’t comment on the possibility of any damage being done to the message store. I would doubt it, but you would need to ask Novell for an authorative response.
I hope this helps.
Regards,
Advansys Support
Thank you for the additional information.
Basically, you can’t combine the two. The View Designer is more or less a closed system.
Depending on the nature of the appointment item, I would consider creating the entire view using Formativ, and defining a custom message type to handle the message. This gives you complete control over the behavour of the message. You would write an applet that included event handlers for the OnOpen event that discarded the standard GroupWise behavour and displayed your form instead. You can use the Name completion control (on the GroupWise tab in the component palette) to handle the recipient fields. You would have to use memo controls, etc, to handle the body field, etc.
This approach means you have to implement your own send processing. i.e. you supply a send button, and when it’s pressed, you write code that creates a draft appointment, assigns the appropriate properties, then finally sends the message. This is much easier than it actually sounds! Let me know if you are not really sure about how to go down this path and I’ll see if I can dig up an example.
To open a named view, you can do something like this:
Call GroupWise.ViewOpenFile(“C:NovellGroupWiseOFVIEWSWINusml_p.vew”, “”, “”)
I hope this helps.
Advansys Support
Could you please explain what you mean by using the custom appointment view with the applet form?
You can physically combine the two. However, you could add a button to the appointment toolbar that displayed your form, or you could replace the custom appointment view altogether with an applet form. It really depends on what your final objective is. Please provide more information and I should be able to point you in the right direction.
Regards,
Advansys Support
Glad to help. Please let us know if you require further assistance.
Regards,
Advansys Support
No problems. Please let us know if you require any further assistance.
Regards,
Advansys Support
Thank you for your post.
You would normally use the OnChange event of the combobox control to do this. I created a simple applet with a form call test that contained a combobox called cbMain. I loaded the combo with three items.
I then associated an event with the OnChange event, and wrote some code to display a message box that shows the ItemIndex of the newly selected item. The first item in the combo has an index of 0, the second 1, etc. You could use this value to load the appropriate image file from disk into an image control.
Heres the code:
Sub Main(Client, GWEvent) test.showmodal End Sub Sub cbMainChange(Sender) MsgBox "Load the image for: " + CStr(test.cbMain.ItemIndex),0,"On Change" End Sub
I hope this helps. Let me know if you require any further assistance.
Regards,
Advansys Support
-
AuthorReplies