These are chat archives for collectiveaccess/support

13th
Sep 2016
Julia
@juliaweist
Sep 13 2016 17:21
@cascedu there are some issues with the syntax of your mapping, but I just want to confirm that objectSplitter is even the correct refinery. Are you trying to create S.W. Hason and R.T. Fuller as new related objects, or entities?
If those are indeed meant to be objects, you need to only map them to ca_objects (not ca_objects.name). Then, in your parameters, you must include both a relationship type and an object type. There's no need to expressly map the name (that will be handled automatically by the splitter). For example, {
"relationshipType": "related",
"objectType": "your_type",
"delimiter": ";",
}
alexanderkroh
@alexanderkroh
Sep 13 2016 17:29
Hey y'all, I'm experiencing a strange problem on data imports, namely that the "Execute Data Import" button just doesn't execute. "Cancel" works fine, but you just can't even click on the "Execute" button. Data import works fine from caUtils
I just updated to git 1.7 master as well, didn't change anything
alexanderkroh
@alexanderkroh
Sep 13 2016 18:19
firebug console shows console error as "ReferenceError: caShowConfirmBatchExecutionPanel is not defined"
cascedu
@cascedu
Sep 13 2016 18:38
Hi @juliaweist , those two names are actually the values of metadata elements for an object, not objects or entities themselves. I'm hoping to write the mapping for the object "Reel 1" for example, which has two names associated with it, "S.W. Hason" and "R.T. Fuller" (as examples). I'm hoping to have both of those imported as separate instances of the "Name" metadata element, if that makes sense
Julia
@juliaweist
Sep 13 2016 19:14
Hi @cascedu in that case, if "name" is the element code of the target field where you hope to map that data on the object record there is no need for a splitter. You can simply use: Mapping | 4 | ca_objects.names with {"delimiter": ";"} in the options column of your mapping.
cascedu
@cascedu
Sep 13 2016 19:33
oh, I hadn't realized I could use the Options column that way; thank you!