-
You would do this the same way whether you have one or many attachments. You should be able to find sample code - a lot depends on where you plan to store these. https://support.microsoft.com/en-us/help/2517906/how-to-encode-and-to-decode-a-file-attachment-programmatically-by-usin has a code sample. qRules also can do this for you, if you ...
-
I'm sorry to tell you that InfoPath just doesn't support this out of the box. I'd probably use an InfoPath form that submits to a library and promote the "parent" fields, then use qRules, custom code or CAML to submit the child items to another list.
-
You probably just need a formula in your "E-Mail" field then as a default. In your form, set the fields task pane to display in advanced view. Drag the data source for the "pc:Person" group (inside "smart email") onto the form as a repeating table. Preview your form and pick a user with your people picker - the ...
-
I'm assuming that you haven't copied the original formula or used the formula builder to create this. :) Here's what the XPath should look like: ...
-
Do you see the difference in our formulas? In mine, I am selecting the value where the NAME = "Department". In yours, you have the "." notation shorthand, so you are selecting the value where the VALUE = "SPS-JobTitle" .... which, of course, it does not. :) Copy the formula used for department, create a new rule right ...
-
Beautiful, so happy you have it working. Sometimes for me, by the time I type out the problem, I see the solution. :)
-
Can you attach your template under the Options tab in a reply & let me know a few more details? Are you using double eval and running into the same error?
-
I wouldn't use defaults for this. Just add rules to the same rule I added on your selected account field
-
Right, and you can copy the rule that sets the department field to set your other fields. You can see the filter syntax there - you select the value and then add a filter to make the name equal to whatever you are seeing in the Name column in that secondary data source on the form - that makes it easier to get the rules right. :)
-
If you want the field blank on open, don't use a default, use rules. You need to set the same rules on EVERY field involved - Constant1, Volume, Constant2, Constant3 and Height - because any time any one of these changes, you want to reset Cost1 accordingly.
I'm guessing Constant2 always has a value - is that why Cost1 ...