Re: how to be sure that there are not doble entries for org-id-locations

2023-06-18 Thread Ihor Radchenko
Uwe Brauer  writes:

> I am very confused. According to that part of the manual and I quote 
> ...
> Since the table is in another file I am also force to use an ID, as with
> the solution I posted before. 
>
> =org-id-get-create=
> =org-id-update-id-locations=

Hmm. Right.
So, is your question "how to check duplicate IDs"? If yes, the answer is
M-x org-lint

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at .
Support Org development at ,
or support my work at 



Re: how to be sure that there are not doble entries for org-id-locations

2023-06-18 Thread Uwe Brauer

> Uwe Brauer  writes:

> Looks like XY problem.
> Why not just use remote reference?
> See 3.5.1 References section of Org manual.

I am very confused. According to that part of the manual and I quote 
,
| 
| where NAME can be the name of a table in the current file as set by a 
| 
| ‘#+NAME:’ line before the table. It can also be the ID of an entry, even
| in a different file, and the reference then refers to the first table in
| that entry. REF is an absolute field or range reference as described
| above for example ‘@3$3’ or ‘$somename’, valid in the referenced table.
`


Since the table is in another file I am also force to use an ID, as with
the solution I posted before. 

=org-id-get-create=
=org-id-update-id-locations=

So my problem still persists.

What do I miss


-- 
Warning: Content may be disturbing to some audiences
I strongly condemn Putin's war of aggression against the Ukraine.
I support to deliver weapons to Ukraine's military. 
I support the NATO membership of the Ukraine.
I support the EU membership of the Ukraine. 
https://addons.thunderbird.net/en-US/thunderbird/addon/gmail-conversation-view/


smime.p7s
Description: S/MIME cryptographic signature


Re: how to be sure that there are not doble entries for org-id-locations

2023-06-18 Thread Ihor Radchenko
Uwe Brauer  writes:

> Hi I am using the following workflow (for the org-aggregate pkg, but the
> logic for lookup is similar)
> ...
>
> And I want to extract the last column in another org file
>
> #+BEGIN: aggregate :table short-notes :cols "Name Result"
> | Name  | Result |
> |---+|
> | Smith |  9 |
> #+END:
>
> That *does not* work, so what I do I add to the file with short-notes
> via 
> =org-id-get-create=
> ...

Looks like XY problem.
Why not just use remote reference?
See 3.5.1 References section of Org manual.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at .
Support Org development at ,
or support my work at