-
I did get this to work, but only when I previewed in InfoPath - my form is browser based and I need the above rules to work when the form is opened in a browser. Any suggestions??
Thanks so much in advance
-
I see no problem to calculate weeknumber by applying same principles as in that article:
http://alecpojidaev.wordpress.com/2008/12/30/infopath-codeless-programming-walkthrough-2/
the week number will be amount of days since the beginning of the first week of the year divided by 7 and rounded to the largest integer.
-
It worked!!! I had to play with the last rule a little bit, but it worked!!!
In case anyone has this issue in the future - here's exactly what Rules i had...
Set field's value: username = Value[Key = "sAMAccountName"]
Query using data connection: GetManagerAlias
Set field's value: username = ...
-
Hi tomasz,
This one sounds all too familiar.
Try this first: close Visual Studio and open the manifest in design mode (right click on the file). Try to preview the form from there. Sometimes that will give you a more detailed error message, say, if one of the components or required files is missing.
-
To clarify a little bit. I'm talking here about infopath 2007 with latest updates on vista.
tomasz
-
Hi,
Let's say I have a listbox with manually entered items. I copied the xpath expression and referenced this listbox
from the code, however I can't iterate over the values.
In other words. I would like to clear listbox before I bind new values, how can I do that ?
Let's say that just binding values without ...
-
Great, that's exactly how you should be using it. Let me know if the whole setup works and if you used the instructions I mentioned. I might make a blog post about the process, because I think it's incredibly useful - I use it for all of my forms.
-
Thanks for the info. Yes, my form is browser enabled. I originally had a link in a library of forms that would open the form and allow users to submit data to the library, but most of my users (100) do not have InfoPath on their PC's, so I chose to enable the web form and publish to sharepoint that way. As of a few minutes ago, I am ...
-
awesome! that is definately better than nothing. i was looking in all the wrong places.
-
Hello!
I searched and puzzled myself but without any luck so i hope somebody can help me with this:
I want a formula or some other way to calculate the weeknumber from a given date in infopath.
So a user selects a date in a datepicker and then a formula calculates the weeknumber. (week is 7 days, beginning in January ending in ...