InfoPath Contact Selectors in Repeating Section - infopath

I have a repeating section that contains 3 contact selectors which loads different data for a given object. When I click use the "run query" option to load all of my objects, they are correctly populated for the first item. However, instead of loading all the correct values for the remaining objects, the same values are used for every other object instead of loading them individually for the given object.
Each contact selector is in its own group so that when I choose a value, the others aren't affected. However, if I have more than one object visible (by object I mean group of fields in a repeating section) the value for the corresponding field in the contact selector for the other objects gets set to the same value.
How can I make it so that these objects are treated separately?

Related

Google Tag Manager LookUp of LookUps Output Values

I have grouped four sets of landing pages into four corresponding LookUp Table variables, using {{page path}} as the input variable. I've applied an output value for each landing page within each of these groupings.
I group the above variables into another LookUp Table variable (basically a LookUp of LookUps), and use this in an all-pages pageview tag to populate a Google Universal Content Grouping.
My question is whether I need to apply an output value to each input in the LookUp of LookUps?
Asked differently -- since output values are applied to each input in the four landing page lookups, will these pass through to the lookup of lookups, or do I need to apply output values there, too?
In short, the approach above cannot work. It requires GTM variable values to change (as values go from the set of lookups to the 'lookup of lookups'), but they're not meant to chance. A variable is meant to either represent a value, or not.
I wound up inserting dataLayer variables into the landing page code to apply the needed page-by-page designations.

Is it possible to filter the list of fields when outputting a Full Dataset?

I have a DataTable that I'm passing to a FlexCel report. It contains a variable number of columns, so I'm using the Full Dataset feature (e.g. <#table_name.*>).
However, only a subset of the fields are dynamically generated (I have a variable number of attachments). The column name for each attachment field starts with a common word (e.g. "Attachment0", "Attachment1", etc).
What I would like to do is output the known finite set of fields and then the variable number of attachments. It would be nice if I could write something like <#table_name.Attachment*> (and <#table_name.Attachment**>). Is there any way in FlexCel Reports I can achieve the same result?
A side benefit to such a solution means that I could keep the formatting for the known/finite set of fields.
Update
I added place holder columns to the document, each with a <#delete column> tag, so that the un-wanted columns/data are removed.
Although this works, it's not ideal. For example, if I want to see how the columns fit in the page width (in print preview), then I need to hide the columns. Then I have to remember to un-hide them again, so other developers can see/understand my handy work.
It would be much more straight forward if I could filter the fields before they're output to the document.
I realised there's an alternate way around this problem. I broke up the data into two sets of data - <#table_name.*> and <#table_name_attachments.*>.
The fixed set of fields are in the first table and the variable set of fields is in the second table (all the "Attachment*" fields). When the report is run, I place them next to each other (in the same order) in the same worksheet. This means I have two table ranges - "_table_name_" and "_table_name_attachments_" on the one sheet.
Now I'm able to run my print preview without hiding/re-showing the columns-to-be-deleted. I've also eliminated human error - it was all to easy to accidentally set the wrong number of padded/delete columns.

Child Content Type (Drupal)

I need to create two content types (Call List and Call Announcements), in Call Announcements there are 5 fields, in Call List there are 12 fields but 5 of them are mutual with Call Announcements, I do not want to create 2 different content types (Call List, Call Announcements) because when the user create a node, he should be able to choose where the node is shown (in Call List, in Call Announcements, Both).
(Call List and Call Announcements should be in the same database table)
How can I do these?
http://i.stack.imgur.com/LAgXM.png
You can create a single content type containing all the fields.
After that add a field with checkboxes with the options like, "show on call list" and "show on call announcements), This extra field can be used to decide how the create/edit/view behaves.
When Creating/Updating content.
Now you may go ahead and install conditional fields, if you want to conditionally show some field based on the values of checkboxes selected.
When viewing content
Use views to display the list. Here you can decide what is shown in the list by filtering the list by the checkbox values. As a bonus extra views would help you decide what fields need to be shown to the user.

Dynamic ajax category child dropdown

I'm using GF to create a filter. Some part of the work is done.
What I need to do now is allow 3 or 4 dropdowns to be populated dynamically.
I'm using the code providade in topic in http://goo.gl/hU31iK
I already made the queries on my table, but I'm having some difficulties, as described below:
First, my form ID is 1.
My first dropdown's ID is input_1_6
Second is input_1_4
Third is input_1_5
Fourth is input_1_7
That said, using the code in topic above, the values for input_1_4 is being loaded after choosing some value in input_1_6, but it isn't actually populating the dropdown input_1_4 (javascript alerts the values loaded, but the dropdown is empty).
Plus, any ideas on how to create the third and fourth filters, based on choices?
-- Field input_1_6 loads
-- Choosing some value in input_1_6 populates input_1_4 (based on value in input_1_6).
-- Choosing some value in input_1_4 populates input_1_5 (based on value in input_1_4).
-- Choosing some value in input_1_5 populates input_1_7 (based on value in input_1_5).
-- Choosing some value in input_1_7 and click submit form will do my stuff.
Thanks!

InfoPath Repeating Tables: Force all rows to have same value for one column

Does anyone know a way to have all the rows of one column of a repeating table to always have the same value?
Say the user changes the value in the first row for that column, then all the other cells in that column change to have the new value. (Preferably this will happen if a user changes any cell in the column, not just the one in the first row, but just the first row would be fine if that's all that's possible).
I have access to both InfoPath 2007 and InfoPath 2010 so can use either. The form submits data to and receives data from an SQL Server database. Code is fine if this requires it.
You basically want to change the field from a repeating field to just multiple copies of the same field (since you want it to always be the same there is no point in storing multiple versions).
On the data source tab, all the fields that you put in the repeating section are in a group folder with the little repeating icon on it. Right click on the field you want to be non repeating and choose move. Put it anywhere outside the repeating group folder (the encompassing folder is usually a good choice but it can be anywhere). The field on the design surface will now show a little info box that says "this item can't be repeated" (or similar).
Now you just have multiple copies of the same field - so if you change any one of them they will all update to reflect the value.

Resources