Forum Replies Created
-
AuthorReplies
-
The technique suggested above, which uses Clone and AddExistingMessage, will only work within the currently logged in users account. It will not work when proxied to another account. This is because both methods/abojects are part of the GroupWise object API, which is an account-based API. The Account object referred to in the code is actually the account of the currently logged in user.
The only workaround would be to use the multilogin method. This method gives you a new account object representing another users account. You need to know the user name and password of the other user to use this method.
You can access another users account object by doing something like this:
set iAccount = GroupWise.Session.MultiLogin(UserID,,Password)
UserID and Password are both strings.
I hope this helps.
Advansys Support
Thank you for the feedback. Please let us know if we can assist further.
Advansys Support
Thank you for your feedback. This update will be rolled into the main installation program very shortly, and should be available to download in a week or so. The update will include the fix to the notify startup issue. Keep an eye on the Formativ support page.
Advansys Support
Yes. Here is some sample code that lists the values associated with a user defined field in an address book of your choice.
You will need to edit the value of the constants USER_DEFINED_FIELD to be the name of your field, and ADDRESS_BOOK_NAME to be the name of the address book you wish to access.
I hope this helps.
Advansys Support
'------------------------------------------------------------------------------- ' This sample applet will display address book entries with user defined field ' value. '------------------------------------------------------------------------------- ' User defined field name const USER_DEFINED_FIELD = "uid" ' Address book name const ADDRESS_BOOK_NAME = "Test Book" '------------------------------------------------------------------------------- ' Main line processing '------------------------------------------------------------------------------- Sub Main(Client, GWEvent) dim iEntry dim iList dim iValue dim iFieldsObj dim iAddressBooksObj On Error Resume Next Set iAddressBooksObj = GroupWise.AddressBooks set iAddressBookObj = iAddressBooksObj.item(ADDRESS_BOOK_NAME) if not iAddressBookObj is nothing then set iList = utilities.stringlist iList.add("Display Name, User defined field value") for each iEntry in iAddressBookObj set iFieldsObj = iEntry.object.Fields set iFieldObj = iFieldsObj.item(USER_DEFINED_FIELD, fgwString) if isobject(iFieldObj) then iValue = iFieldObj.value end if set iFieldObj = nothing set iFieldsObj = nothing iList.add(iEntry.displayname & ", " & iValue) next msgbox iList.Text set iList = nothing end if set iAddressBookObj = nothing set iAddressBooksObj = nothing End SubYour configuration information has been received. We will get back to you shortly.
Advansys Support
Thank you for your question regarding eDirectory setup.
The only component not compatible in your live system is GroupWise 6.0.0. Formativ is only supported with GroupWise 6.0.1 (SP1) or greater. However, I don’t think this component is causing your problem.
Given you are able to get this to work on your test system, there is most likely an environmental issue. When you mention the applet appears in eDirectory, but is not saved, do you mean the applet appears in the Formativ Admin UI, but on restart it has dissapeared? If you check the library using ConsoleOne/NWAdmin can you see the applet object?
As there are many variables in an eDirectory configuration, it would be very helpful if you could send the configuration information from the machine you experience the problem on. Try to publish an applet to the library in question, exit GroupWise and restart. Once started, perform the following steps to obtain the configuration information.
– From the main GroupWise menu, select Help|About Formativ
– Select the Configuration tab on the About dialog that appears
– Press the Copy to Clipboard button. This copies the configuration information to the Windows clipboard
– Press OK to close the Formativ About dialog
– Compose a new email message to support@advansyscorp.com and paste the contents of the Windows clipboard to the body of the message. Send the message.On receipt of the message we’ll take a look and report our findings in this thread.
Thank you,
Advansys Support
I was able to reproduce this behavior. Thank you for bringing this to our attention.
I have posted a Formativ Runtime Field Test File (FTF) to the following location:
Formativ Runtime Field Test File
It would be greatly appreciated if you could download this file and copy it over your existing version. (You will find the existing file in C:Program FilesAdvansysFormativ). Start GroupWise connected to your network to ensure the cache is updated. Disconnect as per your earlier test and see if the cache is maintained.
We look forward to hearing the results of your test. Once again, thankyou for bringing this issue to our attention.
Advansys Support
We will attempt to reproduce this. I reply will be posted here shortly.
Advansys Support
Thanks for the additional information.
We are looking into this issue, and will post a response here as soon as possible.
Advansys Support
Here is a very simple example of a HTML dialog. Create a new applet, then copy and paste this source code.
Please let me know if you require any further information.
Advansys Support
'------------------------------------------------------------------------------- ' Insert your comments here '------------------------------------------------------------------------------- Sub Main(Client, GWEvent) Set aDlg = Utilities.NewHTMLDialog aDlg.ToolbarVisible = FALSE aDlg.Caption = "HTML dialog" aDlg.HTMLCode = "<HTML> " &_ " <HEAD> " &_ " <TITLE></TITLE> " &_ " </HEAD> " &_ " <BODY>" &_ " <FORM METHOD=""POST""> " &_ " <TABLE BORDER=""0"" WIDTH=""100%""> " &_ " <TR> " &_ " <TD> Dialog Heading</TD> " &_ " </TR> " &_ " <TR> " &_ " <TD HEIGHT=""50pt""> Body text</TD> " &_ " </TR> " &_ " <TR> " &_ " <TD ALIGN=""RIGHT""><INPUT TYPE=""SUBMIT"" NAME=""MRCANCEL""" &_ " VALUE=""Cancel""> <INPUT TYPE=""SUBMIT"" NAME=""MROK""" &_ " VALUE=""OK""> </TD> " &_ " </TR> " &_ " </TABLE> </FORM> </BODY>" &_ "</HTML>" aDlg.Execute End SubDo you mean you wish to be able to push applets out to users who are disconnected from the network, or do you want GroupWise Remote users to be able to access eDirectory applets?
GroupWise Remote users are able to access to eDirectory applets stored in the local cache while disconnected from the network, assuming a) they have at some point connected to the network in order to receive the applets, and b), there eDirectory configuration allows them to operate in Remote Mode. From the Administrators Guide in the section discussing the Configuration object:
“Update applet cache on client startup
In Formativ 1.0 this setting was called ‘Reload shared applets on GroupWise client startup’. When this option is enabled, the user’s subscribed eDirectory Formativ applet libraries are always accessed on client startup to ensure that the Formativ workstation’s local applet cache, located under the c:program filesadvansysformativmirror folder, is always up to date. This procedure ensures that the Formativ user is always running the latest applet version stored in eDirectory. The update process varies according to the ‘Enable intelligent applet caching’ setting (see below). To maintain a local, fast access eDirectory applet ‘mirror’, this setting should be enabled for most environments.
Enable intelligent applet caching
In Formativ 1.0, this setting was called ‘Enabled when using GroupWise Remote’. In Formativ 1.5, the operation of this feature has been enhanced to work in conjunction with the ‘Update applet cache on client startup’, which must be enabled for the intelligent caching option to work. As in Formativ 1.0, enabling this option prevents the local workstation applet cache from being cleared when you exit the GroupWise client. Intelligent applet caching, introduced in Formativ 1.5, works by the Formativ client interrogating a Formativ library applet UTC ‘timestamp’, which is set when the applet is published to eDirectory by Formativ Admin 1.5 or Formativ Developer 1.5 (you must extend the schema using the Formativ 1.5 Schema Wizard to use this feature). This means that an applet will only be downloaded from eDirectory if the applet stored in the local workstation cache has a timestamp which is older than the library applet’s timestamp. The result is minimum traffic over the network and fast GroupWise client startup, without sacrificing the benefits of centralized distribution and management via eDirectory. If you wish to use eDirectory Formativ applet libraries with GroupWise Remote, the ‘Enable intelligent applet caching’ option must be enabled.”
If you want remote users to receive eDirectory applets, but these users rarely connect to the network using the Netware Client, your only option is to use LDAP. Using LDAP, users can access Formativ libraries without the need for a fulltime network connection. See the Administrators Guide for more information.
I hope this helps. If I have missed the point of your question, please let me know.
Advansys Support
There is no built in support for natively printing a note added to a message using this applet. However, there are a number of way you can print notes with just a could of extra steps. Perhaps the easiest way is to copy the note text to the Windows clipboard, paste the note into Word or Notepad and print from there. Open the note, press the right mouse button to display the context menu and choose ‘Select All’. Press the right mouse button again and select ‘Copy’. Switch to Word or Notepad and select ‘Paste’. Finally, print the note using the appropriate applications printing facility.
Advansys Support
Thank you for your detailed posting.
Assuming you only wish to modify the properties of posted appointments, you don’t need to clone and send the original. Posted appointments are owned by the current account, which means you are free to modify most of the properties of the appointment directly, including custom field values.
It seems you wish to change the start date and/or duration of the posted appointment. You should be able to update the startdate and duration of the message directly. For example:
Set Msg = Client.ClientState.CommandMessage
Msg.StartDate =
Msg.Duration =There is no need to call the send method again, or call .Accept, as this is a posted appointment.
Note that this approach will cause the original posted appointment to be moved to the new date/time in the calendar. If for some reason you wish to retain a copy of the original event, then you must use clone. I don’t think that you would need to use the accept method (as this only pertains to non-posted appointments). In either case, you can only call the .Accept method on appointments that have been sent. In your example you are calling .Accept() prior to send, which will result in a security error message being generated.
In summary, if you simply wish to change the date/time of a personal/posted item, just change the appropriate properties of the object directly – there is no need to clone the message.
I hope this helps.
Advansys Support
The ‘Find Records in Access Database_example’ applet demonstrates how to access records in an Access database via SQL. It first iterates through all records and displays the record number and name of each contact, then uses SQL to locate a particular record.
The applet does not address email messages based on a selected record.
Is this the behavior you are seeing, or are you talking about a different applet?
Advansys Support
October 30, 2002 at 4:12 pm in reply to: Listing the contents of a folder to a Word document – problem with script #6413The code that checked the version of Word in the Publish folder list applet would not correctly identify Word 97 SR2. (It could identify Word 97 SR1). The failure to identify the correct version would result in the applet functioning as if Word 2000 was installed, resulting in errors for Word 97 SR2 users.
We have updated the applet so that it correctly identifies patched variations of Word 97 and 2000. We will be emailing this version directly to users we can identify in this thread. The updated version will also be available as part of the standard Formativ installation in the very near future.
We apologies for any inconvenience.
Advansys Support
-
AuthorReplies