These are chat archives for collectiveaccess/support

30th
Jan 2017
Karl Becker
@karbecker
Jan 30 2017 08:25
@kehh I tried {{{^ca_entities.ulan.detail_view_info}}} as well as {{{^ca_entities.ulan.extra_info}}} with no luck. Only without a property it shows some info, like 500007488] Hünten, Emil (Persons, Artists) - German painter, 1827-1903Do I need to configure anything in the linked_data.conf?
noje
@noje
Jan 30 2017 08:30
Hello ! I'd like to set a facet based on the source for objects. I tried this : Attribution = {
type = attribute,
field = object_sources,
element_code = source_id,
labelsingular = ("Attribution"),
labelplural = ("Attribution")
},
But it's not working. Any suggestion ? Thanks !!
Kehan Harman
@kehh
Jan 30 2017 08:32
@kbecker87 Afraid that's the limit of my knowledge on that front. Does anything appear in your ca_attribute_values table for the ulan element? Looks like it goes in ca_attribute_values.value_blob (InformationServiceAttributeValue.php:L173:181)
Kehan Harman
@kehh
Jan 30 2017 08:37
@noje use the fieldList facet type (not attribute):
Attribution = {
        type = fieldList,
        field = source_id,
        label_singular = _("Attribution"),
        label_plural = _("Attribution")
 }
noje
@noje
Jan 30 2017 09:02
@kehh Thanks !!
noje
@noje
Jan 30 2017 10:47
I'm also trying to get related object (objectsxobjects) on facets (the same way there already is for objectsxentities). I tried this :
object_facet = {
        # 'type' can equal authority, attribute, fieldList, normalizedDates
        type = authority,        
        table = ca_objects,
        relationship_table = ca_objects_x_objects,
        restrict_to_types = [],
        restrict_to_relationship_types = [],
        individual_group_display = 0,
        groupings = {
            label = _("Name"), 
            type = _("Type"),
            relationship_types = _("Role")
        },
        group_mode = alphabetical,
        order_by_label_fields = [name_sort],
        indefinite_article = an,
        label_singular = _("object"),
        label_plural = _("objects")
    },
based on the objects_entities but i guess i'm doing it wrong again ^^'
Could someone help again ? Thanks !!
Karl Becker
@karbecker
Jan 30 2017 15:11
@kehh Yeah, it does, see a screenshot of the ca_attribute_values SQL table:
I can extract the same text in Pawtucket but I’d like to pull more information from ULAN…
Julia
@juliaweist
Jan 30 2017 21:37
@noje currently we don't support self-reflexive browsing, meaning browsing on a table by it's own table.