-
Hi,
You can also generate unique GUID in Load event using ''Scriptlet.TypeLib'' ActiveX object (if you are in JavaScript):
var guid =
new ActiveXObject(''Scriptlet.TypeLib'').guid.substring( 0, 38);
or using System.Guid.NewGuid() method (if you are in .NET).
Thanks.
-
Just realized that i have to use JScript to generate the GUID, but i cant get it to work. The code
var id = System.Guid.NewGuid();
just doesnt work. Is there another solution to this in JScript?
-
For performance reasons, SharePoint doesn't update the promoted properties for all the documents until you open and resave each document. The way to get around this as Greg says. An easy way is to go to the ''Explorer View'' in the library. Click on one of the files, then Ctrl-A to select all. Then Ctrl-C to copy all the files to a folder on ...
-
Try flipping the matching constraint to say not equal to. Roles work in a odd way and this may work. Also this thread may help:http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=85&SearchTerms=switch,view,role
-
Ah! to do this you need to use our ActiveDirectory web service. This assumes your company uses Active Directory with Exchange.http://www.infopathdev.com/webstore/detail.aspx?itemid=18
-
This indeed requires a Full Trust form. The reason for the confirmation popup is to prevent SPAM email wherein some malicious user writes a form to send email without you knowing about it.
-
This is unlikely to be an InfoPath issue, but more like an Internet Explorer setup issue. InfoPath is just doing its printing via IE.
-
Note that the MSI that InfoPath creates requires InfoPath to be installed on the machine because it calls the InfoPath external application object to run the RegisterSolution method. The assumption is that you have InfoPath on all the machines where you are running your install script.
-
Another way to achieve this is in code. You would set in the OnBeforeChange event to check if there is only one element at that level and if so cancel the delete. In the datasource task pane go to the node for that repeating section. Then double-click to get the properties. There go to Validation and Event Handlers. From there select the ...
-
Note that this will require the template to be security level Full Trust (installed or code signed) since it theoretically could call fdisk.exe and mess up a user's machine. :)