Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

XREF not accepting element selection in document

Community Beginner ,
Aug 08, 2018 Aug 08, 2018

XREF not accepting element selection in document from the cross-reference tab of the structure

TOPICS
Structured
655
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advisor ,
Aug 09, 2018 Aug 09, 2018

Cindy,

    I don't understand exactly what you are trying to do. Are you using the cross-reference pod? Open it in FM 2017 with Insert > Cross-Reference and in earlier versions with Special > Cross-Reference. You cannot define a cross-reference by setting attributes from the Structure View.

   Also, you can only create cross-references to elements that have an ID attribute (it doesn't matter what the attribute is named, but it has to be defined in your template as a unique identifier).

      --Lynne

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Aug 09, 2018 Aug 09, 2018

Lynne,

Attached is an image to help clarify the issue.  After selecting the Cross Reference for the shown Element only the reference Format name "Table" is embedded in the document.  Other cross elements are correctly embedded in the document. 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advisor ,
Aug 09, 2018 Aug 09, 2018

Cindy,

   The cross-reference format is "<Link>Table <$paranumonly>". Since you see only the word "Table", you might be linking to an element that has no autonumber. If so, the <$paranumonly> building block will not display any text.

   Is the element with ID CACIGHHBA8 the actual FrameMaker table or is it a container that holds the table?

         --Lynne

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Aug 09, 2018 Aug 09, 2018

Yes, the table has that ID in the structure.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advisor ,
Aug 09, 2018 Aug 09, 2018

Cindy,

   Sorry to bombard you with questions, but:

  1. What is the autonumber of the Tabletitle as displayed in the paragraph designer?
  2. What version of FM are you using?
  3. Are the table and the cross-reference in a book or a single document? If a book, are they in the same file? If they are in different files, which comes first?

--Lynne

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advisor ,
Aug 14, 2018 Aug 14, 2018

Cindy,

    I took another look at your example. I believe the problem is in the cross-reference format. Try using <$elemparanumonly> instead of <$paranumonly>

          --Lynne

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Aug 14, 2018 Aug 14, 2018

That is good news. I am new to frame maker. Where would I see that element?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advisor ,
Aug 14, 2018 Aug 14, 2018

In more detail, in a cross-reference format for a cross-reference to a table, <$paranumonly> refers to the autonumber of the paragraph containing the table number; if that paragraph is not numbered, the building block will not generate text. <$elemparanumonly> refers to the autonumber of the first paragraph within the table. I have tested tables with table titles displayed above the table. I have not tested titles displayed below the table or tables with no title.

       --Lynne

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Aug 10, 2018 Aug 10, 2018

1. I need direction on how to locate the autonumber of the Tabletitle in paragraph designer.

2. version 13.01.385

3.In a single document.  The document. The document is a chapter of a book.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Aug 29, 2018 Aug 29, 2018
LATEST

Are there other tables with cross references you can use as a guide?

In our documentation we have the Id attached to the table title, and as this also contains the table number, the xref works perfectly.

The other way to do it would be to create an autonumber that echoes that of the table title for the table element, but uses a white character format (this only works if your pages are white background).

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines