One to One relationship

In education module’s Topic doctype, how can I set that a article content linked to a topic should not be allowed to link to another topic?

Could you elaborate the query with a use case as well as a screenshot ?

We can have many articles in our database. We assign them to topics, what I want is that once an article has been assigned to a topic it should not be allowed to be assigned to another topic.

You should put the link field as “Unique”. I think that this solves your problem.

It is a dynamic link field and it says that it cannot be unique

Then you are going to do a validation in the server side and check if there is another topic with the same article.