You searched for the word(s): 12
-
Too bad InfoPath doesn't let you add New Record as an action to a rule since then you could set the value after that as a separate rule/action.
Have you tried to set a default value for Relayview? Just go to the data source and double click it and click on the Fx for the default value and add XdExtension::<yourfunction name>. In ...
-
Why can't you just call the GetUserProfileName Web Service? That doesn't require code.
-
Hi KC,
Well, you can call the function from a rule and change your Submit button to be Rules and Code and just have two rules - one that calls the code function and another that submits. Depending on the function, you may be able to do it without code (just using the XPath macro language which comes with InfoPath). Either way works. To call the ...
-
Hi Maarten DB,
This is strange and we've only ever seen this behavior of your XML loses the Processing Instruction at the top that tells your computer (and SharePoint) that it's an InfoPath document. You should take a look at the XML in notepad and see if it's correct. If not, it could be due to various factors - but in SharePoint ...
-
I need to pre-populate user profile information recuperated from SharePoint context through some custom code.
-
Hi Nick,
Why are you writing code to do this? Just use the e-mail data connector. No code means less maintenance cost. Nothing in your code is special. You can do it all with out-of-box rules and data connections from the InfoPath Designer.
-
Ok, thanks to both of you for your help.
-
Thanks for the quick Reply Patrick, it didn't dawn on me that it would have made much a difference to start w/ a blank form vs creating from a database. So in that reality, this issue would not occur? If I can muster the motivation, I might give that a shot and thanks for the tip!
This form loads on a view that displays a repeating section ...
-
You just need to relink the forms. When you move the XSNs (the form templates) from your doc lib, they need to have their Publish URL updated. Easy to do by simply republishing to the new site. Then, the XML forms that were created for them need to be relinked. SharePoint provides a relink option. After you do those two things, you should be good ...
-
I thought relink worked but I probably got it wrong. You'd think I would remember that given that I wrote the feature when at Microsoft back in 2002. OK, relink just changes the href. Got it. Well, try re-uploading using the Web Explorer view. That ought to work.