Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the CollectiveAccess support forum! Here the developers and community answer questions related to use of the software. Please include the following information in every new issue posted here:

  1. Version of the software that is used, along with browser and version

  2. If the issue pertains to Providence, Pawtucket or both

  3. What steps you’ve taken to try to resolve the issue

  4. Screenshots demonstrating the issue

  5. The relevant sections of your installation profile or configuration including the codes and settings defined for your local elements.

If your question pertains to data import or export, please also include:

  1. Data sample

  2. Your mapping

Answers may be delayed for posts that do not include sufficient information.

(SOLVED) Title in [BLANK]

edited December 2017 in Pawtucket
I would like to show the title only when it is filled. The title field is always saved with "[BLANK]". I am trying not to show the title if there is no valid content, like this:

{{{unit relativeTo="ca_objects.preferred_labels">
<if rule = \"^ca_objects.preferred_labels = ~ /[BLANK]/\"> 
</ if>
</ unit>}}}

But it appears the same as [BLANK].

Any suggestion?


  • Hi Ruth,

    It should look like this if you are trying to suppress blank object labels:

    <if rule='^ca_objects.preferred_labels !~ /BLANK/'>^ca_objects.preferred_labels</if>
  • edited November 2017
    It still appears [BLANK] on the Pawtucket and I wish that it doesn't show up when it was [BLANK]

    {{{unit relativeTo="ca_objects.preferred_labels">
    <if rule="^ca_objects.preferred_labels !~ /BLANK]/\"> 
    </ if>
    </ unit>}}}
  • Hi Ruth,

    It looks like you are missing the opening bracket for your first unit tag
  • Thank you very much Sophie.

    It is works for me.

    {{{<if rule='^ca_objects.preferred_labels !~ /BLANK/'>^ca_objects.preferred_labels</if>}}}
  • Hi i have a similar problem, but in my case i can't write anything in the object title and than it's always [BLANK].
    In what file did you made the changes sophie.

    Thank you

    João PInto
Sign In or Register to comment.