-
Hmm, sounds like you need someone to take a closer look at it. Let us know if you'd like some hands on assistance. Probably something wrong with your form, but we would have to look at it in the environment in which you published it.
-
Hi, and welcome!
Offhand, I'd guess your Object ref error would be related to a bad Xpath in your code, or you are not getting results from your query. What line causes the error? Can you put a breakpoint in your code and run it in debug?
-
Hi Imran and welcome ot our forum,
Simple Codeless Solution: let ShP or SQL do the job for you. Kind of a hack, but it works....
Over the years, this has been a very common request. You should search our forum for "Auto ID SharePoint". To reuse the SharePoint ID without writing code, you'll have to do two submits. First, ...
-
Oh, I see, because there isn't a value in the secondary data connection to the library the for the first form to use. Is this a default value? Or is set by a rule? I suppose you could add an open rule to set the name to IP1W7, or whatever you want in place of NaN, but then you run into the issue of two users opening forms while there are none ...
-
Hi, Terry:
Welcome to the forum. I hope someone else knows why controls don't always render in email the way they do in a form -- it makes me a bit crazy sometimes, emailing myself to see how my form looks. One thing you could do is add a boolean (true / false) field to your form and right before the rule where you send the email, set the ...
-
You actually can call code functions from rules. Here's a blog post on that by the InfoPath team -- it is actually a pretty cool and not too difficult technique.....
-
Hi, welcome!
Since you have MOSS, you must have a SQL db hanging about somewhere -- you could try this technique from my blog....In my blog, I get the ID in the save event, but you could use it in the Loading event just as easily....
-
Hi again,
Sorry for more questions...
Are you storing the SQL DB in a main data source or a secondary data source? I'm guessing secondary based on your last sentence. If that is so, the size of the XML won't reflect the size of the data downloaded since that is stored in a secondary data connection. It's still possible that you are ...
-
Tools->Default values gets you more than one default row but not something that can be dynamically selected.
For that, you can create a rule and use our free qRules v1.5 tool along with an eval(eval....) expression to iteratively inject a number of rows from an XML secondary data source (2DS). Search for eval and find a bunch of posts on ...
-
Please try eventObj.Site.SelectSingleNode("my:Multiple_Printer_Name").text
You may need to adjust the relative path depending where eventObj.Site.SelectSingleNode is positioned relative to my:Multiple_Printer_Name in the DOM, but if my:Multiple_Printer_Name is directly below the repeating node it should be ok.
This ...