cross reference within a masterdocument

Today I created a master document with several odt files, and I tried to set and insert a cross-reference. I followed what explained here and here but the result was not what I expected.
As a matter of fact I got

  • in the subdocument an error message (what seems normal) and
  • in the master document just a link to the reference set, not the content of the reference. Unlike what happens with cross-references within the same document. So it is senseless a cross reference: rather better a hyperlink. But maybe it happened because when I set the reference today I wasn’t able to set more than a (single) row: I don’t understand why…

It seems, in Google search, that help for this problem is very aged (2011 or so), not updated: nobody uses this technique?
BTW: LO in my opinion, should allow to delete references.

Thank you

I think that so far there is no solution, because the problem is that LibreWriter doesn’t allow to set as reference more than one paragraph.
And that, in my opinion, narrows very much the possible uses in a intellectual activity. Indeed I would have to share between different document more information than a single paragraph.
An enhancement in this direction would be blessed.

I have posted this my new question here.

Cross-document references are tricky and every word in the built-in help is important. I make this remark because while doing a test (since i am personally interested in this topic), I fell in a pitfall for disregarding an essential word.

First step is in the preparation of the to-be-referenced locations. You don’t use bookmarks as you would do for intra-document cross-references.

  • Instead, you Insert>Cross-reference after selecting the word(s) or location.

  • Type is Set Reference

  • Give a relevant Name

  • Close

The important step is chosing Set Reference instead of creating an ordinary boolmark.

Then when Insert>Cross-reference to create the reference, steps are similar: you choose Type Insert reference and manually type the Name (since it is not known in the document unless already used). You select whatever information you need for this reference (page, chapter or content).

It then works like a charm.

Of course, if you display a sub-document individually, the reference will not be found, but the view of the master document will show correct substitution in the part made of the sub-document.

To show the community your question has been answered, click the ✓ next to the correct answer, and “upvote” by clicking on the ^ arrow of any helpful answers. These are the mechanisms for communicating the quality of the Q&A on this site. Thanks!

In case you need clarification, edit your question (not an answer) or comment the relevant answer.

Thank you: I know already all what you say. Unfortunately, as I’ve already said, this not works for me. Maybe because this time I am not able to set as reference more than a row, unlike other times.

What do you mean “more than a row”? Are you trying to set a reference onto a table? If you are not in a common case (reference pointing to a word), please describe your intent (trying to get a whole table row in the reference?).

So far I have used cross-reference (in the same odt) for a single paragraph. I notice now that this is not a choice, but the only possibility: it’s not possible to set a reference for several paragraph, is it? If it’s so, in my case cross reference between my different document would be useless. Better a dde link. Thank you.

The solution given by ajlittoz is correct, but he omitted an important aspect: both the set reference and insert reference need to be done by opening the respective documents, not from within the master doc. Then, and only then, it works.