Forum Replies Created
-
AuthorReplies
-
It is possible to create a workflow solution using Formativ custom message. We have written a example solution “Leave Request Workflow” for 2005 BrainShare session.
Advansys has made available the Formativ source code of “TUT333 BrainShare session examples”, which illustrate programming techniques for extending the GroupWise client. You can download the source code from the Formativ Applet Central: http://www.novell.com/coolsolutions/feature/9485.html
Please note, you will require the Formativ Studio or Creator (http://www.advansyscorp.com/formativ_framework.htm) to execute and edit the example solutions.
Some notes about the “Leave Request Workflow” applet:
quote:
‘ DHO340 – Developing Novell GroupWise Solutions with Advansys Formativ
‘ Leave Request Workflow
‘ This exercise demonstrates:
‘ – Custom Message creation.
‘ – Dynamic forms.
‘ – Advanced dynamic forms control usage.
‘ – Simple workflow.
‘ – Custom GroupWise fields.
‘ – Classes.
‘ – Creating new messages via the Object API.
‘ – Custom message event handling.
‘ – Using XML as a convenient data storage medium in a custom field.
Regards,
Advansys Support[This message was edited by Support 3 on September 05, 2007 at 08:12 PM.]
[This message was edited by Support 3 on September 05, 2007 at 08:13 PM.]
You may be able use the All collection (http://msdn2.microsoft.com/en-us/library/ms537434.aspx) to access all tags.
There are HTML/Scripting forums on the web which could be useful to get more advice relate to your enquiry. Example:
http://groups.google.com.au/groups/dir?sel=33606727&hl=enRegards,
Advansys SupportThe following sample XML works in here. The doc.XML property return the contents of the XML. Make sure the XML contents are valid. You also need to make sure that correct version of MSXML Parser Installed on the Computer. See the following links for more information:
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q278674
http://support.microsoft.com/kb/269238<?xml version="1.0" encoding="UTF-8"?> <folders> <folder id="6.100.0.1.0.1" name="Mailbox"/> <folder id="7.100.0.1.0.1" name="Notes"/> <folder id="8.100.0.1.0.1" name="Drafts"/> </folders>
There are XML forums on the web which could be useful to get more advice relate to XML. Example:
http://groups.google.com.au/group/microsoft.public.xml/topics?lnk=sg&hl=enRegards,
Advansys SupportSee the URL below for the DHTML properties and methods:
http://msdn2.microsoft.com/en-us/library/ms533050.aspxFor example, you need to use the innerhtml property to access the html.
set dom = Utilities.HTMLDom dom.LoadFromURL("http://www.google.com") set doc = dom.document msgbox doc.body.innerhtml set doc = nothing set dom = nothingRegards,
Advansys SupportUse the XML property (Contains the XML representation of the node and all its descendants. Read-only.).
Example: msgbox doc.xmlSee the following URL for the list of the DOMDocument members:
http://msdn2.microsoft.com/en-us/library/ms757878.aspxRegards,
Advansys SupportAugust 28, 2007 at 5:24 pm in reply to: New appointment registered as “free” – did I miss something? #7794See the sample code below set Priority of the Appointment message to High. The above sample code also set the Priority to Normal. See the Object API for more information about the message properties.
with objAppt .OnCalendar = TRUE .Priority = fgwHigh end with
These constants identify the priority of a message. See the Formativ Language Guide for more information about the constants.
fgwLow (1)
fgwNormal (2)
fgwHigh (3)Regards,
Advansys SupportWe haven’t had any report about this issue. As you said in earlier post, the issue could be related to the security settings in your environment.
quote:
msg.to_, msg.bc, msg.cc only return Novell validated users (which is not documented)
I have forwarded the comments to engineers for review.
Regards,
Advansys Supportquote:
Could you please give us step-by-step directions for “moving” an applet?
You need to consider few issues prior to move an applet from the source environment (Formativ Creator/Studio) to the target environment (Formativ Runtime).
Open source applet
If the Applet is open source (You can view the complete source code) and target environment is Runtime then you need to Flexalock/Encode the applet. Formativ Runtime can not execute the open source applet, you need Flexalock version of the applet. Formativ Studio and Creator can be use to convert an open source Applet to a Flexalock Applet. See the Flexalocking Applets section in ‘Formativ Studio Users Guide’ for more information. Once flexalocked, copy the flexalock version (C:Documents and Settings[USER_NAME]My DocumentsAdvansysFormativFlexalock Output) and save in the desired workstation default Formativ applets folder, usually C:Documents and Settings[USER_NAME]My DocumentsAdvansysFormativApplets.Quck steps to Flexalocking applet using Formativ Studio or Creator:
– Start the Formativ IDE from the GroupWise toolbar
– Select the applet
– Right mouse click and choose Flexalock or EncodeFlexalock or encoded applet
Copy the applet from the default applets folder to the target machine applets folder, usually C:Documents and Settings[USER_NAME]My DocumentsAdvansysFormativAppletsNote: You can also create an installer and run the installer at target machine.
Hope this helps.
Regards,
Advansys SupportPerhaps we are missing something, the example code works in here. Please see below the steps:
– Create an applet and place the above sample code. Screenshot: http://www.screencast.com/t/lh9cWX3t
– Set the applet integration to Email toolbar. Screenshot: http://www.screencast.com/t/FDsPnL_K1YW
– Create a new message in GroupWise client, enter some recipients (To, CC, etc)
– Run the applet from the message toolbar. Screenshot: http://www.screencast.com/t/gyFWPW2WwCan you reproduce the same behaviour using the steps above?
Regards,
Advansys Support– Is the message is draft (not send or saved) or standard message (received, sent, etc)?
– How are you executing the code? For example, you need to execute the code “groupwise.ItemMessageIDFromView” when the message view is opened. We recommend to execute the applet from the message Toolbar to access the message ID.It could be a problem in your GroupWise client, you may need to upgrade to the latest point release.
Regards,
Advansys SupportPlease see the forum thread about the similar enquiry and suggestions to fix the issue. We have also fixed this behaviour in version 2.0.26 which we are planning to release in few weeks.
Regards,
Advansys SupportAugust 15, 2007 at 8:59 pm in reply to: Personalised Emailer – Deleted Future Dated Email Still Sent #8972Thanks for your message.
This is a Known behaviour in GroupWise. Once the future date & time feature used (Delay delivery), the message queued for delivery in Post Office (Service Queues Directory). Deleting the message from the GroupWise client will not remove the message from the Post Office.
We have reported this behaviour to Novell some time ago. It always helps getting a bug fixed if other reports are received, so you may want to report it to Novell via the Developernet Support Forum independently from us. Alternatively, you can post related questions into the following forum: http://groups.google.com.au/groups/dir?sel=33614114&hl=en
Regards,
Advansys SupportComposingItem is a Formativ wrapper around draft message. Draft message is the composing message which is not sent/saved. Its lets the developer to easily access the draft message properties. In GroupWise, you can access the message properties using the Token API, Object API and SOAP API (GroupWise 7 onwards). Some message properties, you can only access through a specific API (For example, Token API to access the draft message recipients, etc)
Please see the sample code below of the Token and Object API to access the recipients. As stated below, you can use the Token API to access the recipients for the draft and standard message (i.e. received, sent, etc). Object API to access the recipients of the standard message.
Token API: http://developer.novell.com/documentation/gwtoken/index.html?gwtokens/data/hj8ej8g5.html.
Get the recipients from the draft and standard message (i.e. received, sent, etc)iMsgID = groupwise.ItemMessageIDFromView ' TO msgbox groupwise.ItemGetText(iMsgID, 0) ' CC msgbox groupwise.ItemGetText(iMsgID, 2) ' BC msgbox groupwise.ItemGetText(iMsgID, 3)
Object API: http://developer.novell.com/documentation/gwobjapi/index.html?gwobjenu/data/h7ikbsqg.html
Get the recipients from the draft and standard message.Set oMsg = Client.ClientState.CommandMessage for x = 1 to oMsg.Recipients.Count set oRecipient = oMsg.Recipients.Item(x) msgbox oRecipient.EmailAddress & vbcrlf & oRecipient.TargetType set oRecipient = nothing next set oMsg = nothingHope this helps.
Regards,
Advansys SupportSorry to hear about the issue.
Formativ automatically create a backup of the working applet in the default Formativ applets folder, usually c:my documentsadvansysformativapplets. The backup applet has the “.vb~” file extension.
If you unable to recover from the backup then you can send the encoded applet to support (support@advansyscorp.com). I think we have a utility to unlock the encoded applet.
Regards,
Advansys SupportYou can use the GroupWise Add On Directory facility to install Formativ Framework or solutions as part of a standard GroupWise client installation.
We recommend the Novell ZENworks to roll out and register Formativ Framework and solutions automatically for large numbers of users from a central location. ZENworks also makes it easy to update Formativ whenever new software becomes available.
Advansys provides three sample ZENworks AXT files (formativ.axt, formativruntime.axt and formativ_uninstall.axt) which you can edit and import into eDirectory/NDS to create ZENworks Application Objects which carry out installation, registration and uninstallation. You can download the sample AXT files from the Formativ Installation Resources Page on the Web (http://www.advansyscorp.com/formativ_distribution_kit.htm).
Hope this helps.
Regards,
Advansys Support -
AuthorReplies