But when I use the object repository to extract the second element as descriptor I get the already shown popup window where it says that the element is already in the repository.
The problem is not extracting the data, that is easy with the get tex activity of the classic version, the requirement is to make it part of the object repository.