nikiforo
Occasional Observer

Get Project GID from Project class using FS ACCESS API

Jump to solution

Hi,

I am trying to get Project GID using First Spirit Access API.

I get the de.espirit.firstspirit.access.project.Project Object using Connection.getProjects() when I am trying to connect using FS ACCESS APIs.

According to the documentation (https://docs.e-spirit.com/odfs/access/de/espirit/firstspirit/access/project/Project.html) there is no such method.

If I search using Intellij in available Java methods, I can still see project.getUuid() method, which gives me back GID, but it is marked as internal, so probably it is not a good long term solution.

I also saw `GidAgent` can be used to get GIDs, but I cannot apply it to Project (https://community.crownpeak.com/t5/Questions-Answers/Section-GID-auslesen/m-p/55942).

 

So which way is correct?

0 Kudos
1 Solution

Accepted Solutions
Windmüller
Crownpeak employee

Currently there is no official way to retrieve the GID of a project. However, I used your request to prioritize an internal ticket requesting the same functionality. I cannot promise anything, but there is a good chance that there will be API for this use-case in one of the next releases.

View solution in original post

2 Replies
Windmüller
Crownpeak employee

Currently there is no official way to retrieve the GID of a project. However, I used your request to prioritize an internal ticket requesting the same functionality. I cannot promise anything, but there is a good chance that there will be API for this use-case in one of the next releases.

Windmüller
Crownpeak employee

Update: It is very likely that the new API will be available with FirstSpirit 2024.2. Please watch for the release notes once they are published.

0 Kudos