Squidex.ClientLibrary, we are currently addressing content by the GUID that is present from the URL. For a schema which is used as multiple content, we will add multiple content times, i.e., for the home page, about page, page 3, etc. Right now, each page only has a GUID to uniquely identify it. With the
Squidex.ClientLibrary, retrieving the code would look like this.
var data = await this.squidexWrapper .HomeClient.GetHomeContentAsync(new Guid("XXXX"));
Only using GUID would be difficult to directly identity which content we are adressing. We are able to wrap all GUIDs into constants with a describing name. However, it would be much simpler to just get the content with the following snippet:
var data = await this.squidexWrapper .HomeClient.GetHomeContentAsync("about page");
The names of the content would have the be unique in the project of course. Is that difficult to implement?
By the way, can you add a small “copy GUID to clip board icon” somewhere in the content window? I noticed that I add the “id” column to the grid but trying to copy the GUID proves difficult since the details view of that row is being shown. Alternatively, would it be an easy fix to suppress the click event when the click occurs in the id column?