Forum Replies Created
-
AuthorReplies
-
quote:
when the user sends the mailmessage the applet says he is in the proxied account.
Your applet should check the CurrentAccount Proxied property to determine whether the account is a proxy account. See the code below to check the proxied property.
msgbox Client.clientstate.currentaccount.proxied
quote:
Is there any way to detect in which account the message was created.
If you access the message object using Object API (http://developer.novell.com/documentation/gwobjapi/index.html?gwobjenu/data/h7ikbsqg.html) then you can check the Parent property of the message which will return the Account object.
set oAccount = oMsg.parent msgbox oAccount.owner.displayname & vbcrlf & oAccount.owner.emailaddress
If you access the message using Token API (http://developer.novell.com/documentation/gwtoken/index.html?gwtokens/data/hj8ej8g5.html) then you can check the From text.
msgbox GroupWise.ItemGetText("X00", itfFrom)Hope this helps.
Regards,
Advansys SupportAugust 7, 2006 at 5:41 pm in reply to: QuickSend applet – Groupwise crash when send to large numbers #8336We can reproduce the issue in GroupWise 6.5.6 (build 1/02/2006). This applet is updated to forces Windows to process any pending messages in the Windows application message queue. We will send a copy of the updated applet to you soon.
Regards,
Advansys SupportGreat news and thanks for sharing the code.
Regards,
Advansys SupportAugust 5, 2006 at 8:50 pm in reply to: QuickSend applet – Groupwise crash when send to large numbers #8328Which verson of GroupWise client are you running?
Regards,
Advansys SupportWe are not sure why you are seeing different bahaviour. Here is our Windows Server 2003 configuration:
- Windows Server 2003 Enterprise Edition (unpatched)
- GroupWise 6.5.6 (2/1/2006)
- Formativ Studio 2.0
- Applet source:
Sub Main(Client, GWEvent)
msgbox GWEvent
End Sub - Applet integration: “On Startup” and “On CloseWindow”
Hope this helps.
Regards,
Advansys Support“Message Notes” solution remember the last category used. You need to set a category in the “Message Notes” solution once and any subsequent message will be assigned to this category.
Regards,
Advansys SupportYou can use the category option in the Message Notes solution to specify a category to the message. You can create a category (example “Notes attached”) and give a color to differentiate from other messages.
Hope this helps.
Regards,
Advansys SupportSeems like you can not use the custom filter syntax in FilterSetText token. Another option is to use the query folder. This query/search folder will allow you to use custom filter syntax. See the Query object in Object API (http://developer.novell.com/documentation/gwobjapi/index.html?gwobjenu/data/h7ikbsqg.html) for more information. See below the sample code:
const QUERY_FOLDER = "My_Test" Dim oQuery ' Creates a new Query object Set oQuery = GroupWise.Account.CreateQuery oQuery.Expression = "(MAIL) AND (BOX_TYPE = INCOMING) AND (<MyType, STRING> CONTAINS ""1"")" ' The locations to be searched. oQuery.Locations.Add(GroupWise.account.mailbox) ' Boolean. TRUE means the client will automatically start the query when the ' query folder is opened oQuery.StartOnOpen = TRUE ' Creates a new query folder based on this query call oQuery.CreateFolder(QUERY_FOLDER, GroupWise.Account.RootFolder) Call GroupWise.Account.Refresh MsgBox ("The folder '" & QUERY_FOLDER & "' created under root folder.") Set oQuery = NothingHope this helps.
Regards,
Advansys Support[This message was edited by Support 3 on June 18, 2006 at 09:20 PM.]
We haven’t had any report about this issue. We have tested the OnCloseWindow event in Windows Server 2003 and it works fine. The Citrix Metaframe was not installed on our test Windows Server. We don’t think the “Citrix Metaframe” is an issue considering OnStartup event execute.
Can you reproduce this behaviour in another machine? The difficulty is usually in figuring out what is responsible for the problem. Using the process of elimination, however, you can usually narrow the problem down rather quickly by making small logical changes and observing the impact on the problem. The key is to make only one change at a time and then see if the problem goes away.
Hope this helps.
Regards,
Advansys SupportIf the GroupWise client is running then you can use “groupwise.EnvUserID” token to return the current user ID.
Regards,
Advansys SupportSee the GroupWise Token API (http://developer.novell.com/documentation/gwtoken/index.html?gwtokens/data/hj8ej8g5.html) and Formativ Language Guide for more information about creating filter. Here is an example:
dim hFilter call GroupWise.FilterClear hFilter = GroupWise.FilterCreate(fttEmpty, TRUE) call GroupWise.FilterSetText(hFilter, fldFrom, "Test", matSubText, "","") call GroupWise.FilterApply(hFilter,fatItemList,"")
Regards,
Advansys Supportquote:
Can I prevent the user from forwarding (our custom) messages in-line?
You can set the OnForward event and select “Replace GroupWise event” which will cancel the forward event.
quote:
The problem I am having is this applet isn’t being run if the user has set up a rule to forward messages. Is there another event that can trap those messages before they are forwarded so I can make the necessary changes?
Rules execute on server side and so far there are no GroupWise API available for the developer to access the rule properties. We can not think any work around to trap the messages which forwarded by the rules. Another option (may be not so practical) is to block the rules token so that no rules will be executed.
We are not sure which API you use to create the custom message. If you need to use the custom class name “GW.MESSAGE.MAIL.MyApp” then you probably need to use the Object API to create the message and display the message view at the end.
Hope this helps.
Regards,
Advansys SupportYou can turn off GroupWise signature (Tools – Options – Environment – Signature) and integrate Multiple Signature solution with message OnSend event.
By default, Multiple Signature solution not integrate with message OnSend event. However you can use Formativ Creator or Studio (http://www.advansyscorp.com/formativ_admin.htm) to set the integration. Once Formativ Studio or Creator installed, start Formativ IDE from GroupWise toolbars, select Multiple Signature applet, select integrations tab, click email events then check OnSend event. If you have problem to set the integrations then write a message to support (support@advansyscorp.com) and we will set the integrations for you.
If you use our Stationery solution and want to place the signature at specific postion in the stationery then you need to modify the stationey. See the link below for more information:
http://www.advansyscorp.com/forums/topic/2391004031/)Hope this helps.
Regards,
Advansys SupportSee the Filter Expressions in Object API for more information about the filter expression. See below a sample of the filter syntax:
(<MyType, STRING> CONTAINS “1”) OR (<MyType, STRING> CONTAINS “2”) OR (<MyType, STRING> CONTAINS “3”) AND (MAIL) AND (BOX_TYPE = INCOMING OR BOX_TYPE = PERSONAL)
Hope this helps.
Regards,
Advansys SupportWe have done some test and unable to reproduce the behaviour you described above. Please see the steps below:
- Windows XP
- Install Formativ Runtime 2.0.1
- Create a new user with Administrator rights.
- Switch user
- Start GroupWise (Formativ is running)
Note: If the user rights modified from limited to administrator then start the Formativ Control Panel applet (Control Panel – Advansys Formativ), un-check and check “Formativ Runtime” option to write the registry entries.
Please let us know if we missed any steps. Which version of GroupWise client is running?
Regards,
Advansys Support -
AuthorReplies