-
Franck... I figured out the following solution:
In the onBeforeChange function change the if statement to
if (eventObj.Operation == ''Insert'' && eventObj.NewValue != null){
Richard T. Henry
Lewisberry, PA, USA
riphenry@gmail.com
-
Have you tried using ''<'' and ''>'' in place of ''<'' and ''>'' ?
Greg Collins [InfoPath MVP]
InfoPath Dev
-
You need Outlook 2003.
Greg Collins [InfoPath MVP]
InfoPath Dev
-
It would be best to convert the email submit from a rule to code, then you can force the signature dialog to appear if the sig is not already added. When the dialog is closed, you can check whether a new sig was added by checking for changes to the sig count. If one was added, then submit the email, otherwise present an error dialog.
Greg Collins ...
-
Thanks for sharing this. As for the appendChild issue you are having, you can avoid schema change problems by loading the SampleData.xml file, selecting and cloning the node you wish to insert, fill in any data in the clone, and then append it. This has the advantage of keeping your nodes automatically in sync with any schema changes.
Greg ...
-
Thank u, I'll let you know :)
-
I once learned about this webservice called .../_vti_bin/UserProfileService.asmx - refer to this link to learn a little bit about ithttp://weblogs.asp.net/wkriebel/archive/2005/01/24/359669.aspx
Have not used it before but know it was out there.
-
I am not sure I understand what values you are talking about here.
Richard T. Henry
Lewisberry, PA, USA
riphenry@gmail.com
-
Hi Richard,
Just a thought here: look into comparing the OldValue and NewValue of your event in your OnBeforeChange. If you chaged the value, OldValue will be different than NewValue, but on Insert, both may be identical.
Let me know if that works.
Regards,
Franck Dauché
InfoPathDev
-
Try using LDAP query...i used it to get displaynames and organizational units for our users. I used visual basic.
Let me know it you want to see my code. :)