Forum Replies Created
-
AuthorReplies
-
I am not aware about any new version available, you can download the dll from here: http://www.advansyscorp.com/formativ_download_tapp.htm
You will need to place the dll into the GroupWise client program folder, for example, “c:novellgroupwise”.
Regards,
Advansys SupportIf the fieldNameChange is edit control then you need to set the TEXT property. See the object inspector for available properties.
MainDlg.fieldNameChange.text = owner.displayname
holiday.ShowModal()You may also need to set the edit control properties before displaying the form. Please see the Developers Guide for more information about developing solution using Formativ.
Regards,
Advansys SupportIn order to access the login user’s DisplayName, EmailAddress, etc properties, you will need to use the “GroupWise.account.owner” to access the Address object. See the Object API for for information: http://developer.novell.com/documentation/gwobjapi/index.html?gwobjenu/data/h7ikbsqg.html
To access the address book entry properties (i.e. department, address, etc), you will need to access the AddressBookEntry object. See the sample code below which pass the Address object to access the AddressBookEntry object then it iterate the available fields.
dim owner dim oABEntry dim oAddressBook ' Get the system address book set oAddressBook = groupwise.account.addressbooks.item("Novell GroupWise Address Book") ' Get the login user address object set owner = GroupWise.account.owner msgbox owner.displayname ' Get the address book entry object which contains more properties (i.e. fields) set oABEntry = oAddressBook.AddressBookEntries.item(owner) ' Iterate available fields of the address book entry for each oField in oABEntry.Fields msgbox "Field name: " & oField.name & vbcrlf & "Field value: " & oField.value next set oABEntry = nothing set owner = nothing set oAddressBook = nothingRegards,
Advansys SupportSeptember 22, 2008 at 5:05 pm in reply to: Image disappears when forwarding or answering a mail #8057quote:
Everything works perfect, if I write a new mail.
I assume the image inserted when you compose a new mail and end user also can see the image.
quote:
When answering or forwarding a mail the image disappears. (The image is shown in the compositing-view but it is not included in the mail which is sent.)
We haven’t had any report about this issue.
– Make sure the Signature (HTML) are valid and created by a HTML editor. Please make sure the Signature not created using MS Word. We strongly recommend against using Microsoft Word as your HTML editor. When a Word document is saved as HTML, Word includes HTML codes which make the HTML file incompatible with a GroupWise HTML message.
– Please make sure the GroupWise message view is HTML (See Tools – Options – Environment – Views).See the thread below which has an example to add logo (internal and external):
http://www.advansyscorp.com/forums/topic/7674060103/Regards,
Advansys SupportThanks for the feedback.
Regards,
Advansys SupportUnfortunately, the example solution does not work as designed because of the GroupWise API limitation. The applet appear to delete the user defined fields (using Object API) but the fields returned after restarting the GroupWise client. We have reported this behaviour to Novell some time ago but haven’t heard any response yet. This issue also has been reported in “novell.devsup.gwobjapi” newsgroups by other users.
Regards,
Advansys SsupportSeptember 16, 2008 at 6:23 pm in reply to: Deploying Flexilock Applets to Global Applet Library #5323Unfortunately, Steps 1-4 is required to create the Flexalock applet and avoid executing the duplicate.
You can drag and drop the applet to the applet library. You will need to select the drop position to the desired applet library (i.e. cabinet icon).
Hope this help.
Regards,
Advansys SupportWe haven’t had any other report about this issue. I will recommend to follow the “Support 1a” suggestions. If the problem persists then send the Formativ Configuration to support.
Regards,
Advansys SupportCould you please send the screenshots of the issue and steps to re-produce it to support@advansyscorp.com.
Please also email your Formativ Configuration Information. You can access this via the main GroupWise menus: Help | About Formativ. When the ‘About Box’ appears, select the ‘Configuration’ tab. Press the ‘copy to clipboard’ button, then paste the contents of the clipboard
into your email.Regards,
Advansys SupportThanks cchimera for your post.
Could you please send the script (if possible the source) to support@advansyscorp.com. We will post the script to our site so other users can download it.
Regards,
Advansys SupportYou are welcome.
Regards,
Advansys SupportMail has bounced. Can you send a message to support@advansyscorp.com.
Regards,
Advansys supportI don’t think the missing entries in previous field will cause the issue.
We have recently made few changes to the solution, current version (2.0.30) which we haven’t release to the public as it is going through the testing phase. Lets hope the changes fix the issue, if the problem persists then we may need to ask you to run the solution in Debug mode to capture more information.
I will send you the updated Applet by email.
Regards,
Advansys SupportIt appear the GroupWise API limitation on file path length. In GroupWise client, I can add more then 200+ path length to a draft message but unable to do the same using the API. We will report this issue to Novell and post any update here. Btw, our test shows the maximum path length limit is 124.
In the meantime, you may need to copy the file to another location where the file path length will not exceed the maximum limit. You can use the Formativ Temporary directory (utilities.TempFiles) where the contents of this directory are cleared on GroupWise startup and shutdown. See the Formativ Language Guide for more information.
The code below copy a given file to the Formativ Temporary directory.
'------------------------------------------------------------------------------- ' Main line processing '------------------------------------------------------------------------------- Sub Main(Client, GWEvent) dim iNewPath '<< ....Your implementation of accessing message....>> if (len(iFilePath) > 123) then if CopyFileToFormativTempFolder(iFilePath, iNewPath) then DraftMsg.Attachments.Add(iNewPath) end if end if End Sub '================================================================= ' Copy a given file to the Formativ Temporary directory '================================================================= function CopyFileToFormativTempFolder(aFilePath, byref aNewPath) CopyFileToFormativTempFolder = false aNewPath = "" if (len(aFilePath) = 0) then exit function end if aNewPath = utilities.AddBackSlashToPath(utilities.TempFiles) & utilities.ExtractFilenameFromPath(aFilePath) CopyFileToFormativTempFolder = Utilities.FileSystem.CopyFile(aFilePath, aNewPath, false) end functionRegards,
Advansys Support[This message was edited by Support 3 on September 11, 2008 at 05:29 PM.]
As you probably know, in VBS, you can create Class to defines an object, its properties and methods to control the object’s behavior. Please see the Visual Basic Script Guide for more information. You can access the guide from the Formativ Help menu.
The example code below create a class when then Applet start. The class object is destroyed at the end so you can use it in throughout the Applet (i.e. Form events, etc).
dim gMyClass '------------------------------------------------------------------------------- ' Main line processing '------------------------------------------------------------------------------- Sub Main(Client, GWEvent) set gMyClass = new CMyClass msgbox "Inside Main sub: " & gMyClass.DateTime gMyClass.UpdateDateTime() msgbox "Inside Main sub: " & gMyClass.DateTime MyDialog.showmodal set gMyClass = nothing End Sub '================================================================================ ' Description about my class '================================================================================ class CMyClass private iDateTime ' Constructor private sub class_initialize iDateTime = now end sub ' Destructor private sub class_terminate end sub ' Update date time public sub UpdateDateTime() iDateTime = now end sub public property get DateTime() DateTime = iDateTime end property public property let DateTime(aVal) iDateTime = aVal end property end class '================================================================================ ' On button click in the form '================================================================================ Sub MyDialogButton1Click(Sender) msgbox "on button click: " & gMyClass.DateTime gMyClass.UpdateDateTime() msgbox "on button click: " & gMyClass.DateTime End SubHope I haven’t misunderstood your enquiry.
Regards,
Advansys Support -
AuthorReplies