-
Yes that should work. You can have something like this:
Surgery
departmentFloorSpace (field, non-repeating)
areas (group, repeating)
areaName (field, non-repeating)
areaFloorSpace (field, non-repeating)
rooms (group, ...
-
Yes, it would be nice if you could populate static text from a secondary data source just like that, but I'm afraid that there's no way to copy repeating data without code. Anyway, good luck with the method I described, and let me know if we should start exploring other options.
-
Wow. You have more categories than I remembered. Unfortunately, the simplest way to populate it without using code is to enter the values by hand. I'll show you the steps for how to do that here, but if it's just too many rooms we can look at other options.
Before that, I noticed that there is a rule on the room ...
-
They are fields, and they are non-repeating. The group that contains them repeats.
Now to make the rooms group appear under more than one supergroup this is what you would do (in the case of my example):
Create the lobbyServices group
Add the rooms group to lobbyServices (check the box to make it repeating)
Add roomName, ...
-
As you have found, InnerXml does not exist in the 2003 InfoPath object model (which includes VBScript and JScript). If you want to obtain the node's inner xml, you can:
Use string processing to remove the start and end tags from xmlnode.xml
or
Iterate through through the nodes in xmlnode.childNodes and concatenate their xml ...
-
Are you using code to call the save operation?
This is a C# expression to obtain the epoch time:
int epoch = (int)(DateTime.UtcNow - new DateTime(1970, 1, 1)).TotalSeconds;
-
I'm not sure why that error is happening, but I can tell you that you shouldn't be setting the selection namespaces on the secondary DOM every time a function is called. They should be set once globally and left that way.
I'm used to accessing the secondary DOM with XDocument.DataObjects["DomName"].DOM rather than ...
-
I think InfoPath is an ok tool for what you're doing, but in my honest opinion, you're not going about it the way InfoPath was intended to be used. XML (and InfoPath is just a visual representation of XML) is great for grouping similar sets of data together, and those tables in your form should really be repeating tables, not flat ...
-
I think you need to be assigning to the text() property of the nodes, as in:
eventObj.Site.selectSingleNode("inflow_assigned_date").text() = now()
eventObj.Site.selectSingleNode("inflow_assigned_by").text() = m_user_id
eventObj.Site.selectSingleNode("reassigned").text() = "Y"
Also, are those nodes ...
-
The behavior you describe is normal. When a user opens a document from an InfoPath form, it is stored in a temp file so that the relevant application can open it. The application opening the file does not have the ability to save the file back into the form, so the only solution is to do what you already figured out: save the file ...