Skip to main content

Getting a node by entry Id

Log in to add to favourites

Get by entry Guid id

C#
1
2
3
public List<Node> GetByEntryId(Guid entryId) { }
C#
1
2
3
4
5
6
7
8
9
10
using Zengenti.Contensis.Management; // Create a client var client = ManagementClient.Create(); // Retrieve the relevant project var movieDbProject = client.Projects.Get("moviedb"); // Get a specific node with assigned entry id List<Node> nodesWithEntryAssigned = movieDbProject.Nodes.GetByEntryId(entryGuid);

Get by entry Guid id async

C#
1
2
3
public async Task<List<Node>> GetByEntryIdAsync(Guid entryId) { }
C#
1
2
3
4
5
6
7
8
9
10
using Zengenti.Contensis.Management; // Create a client var client = ManagementClient.Create(); // Retrieve the relevant project var movieDbProject = client.Projects.Get("moviedb"); // Get a specific node with assigned entry id List<Node> nodesWithEntryAssigned = await movieDbProject.Nodes.GetByEntryIdAsync(entryGuid);

Get by entry string id

C#
1
2
3
public List<Node> GetByEntryId(string entryId) { }
C#
1
2
3
4
5
6
7
8
9
10
using Zengenti.Contensis.Management; // Create a client var client = ManagementClient.Create(); // Retrieve the relevant project var movieDbProject = client.Projects.Get("moviedb"); // Get a specific node with assigned entry id List<Node> nodesWithEntryAssigned = movieDbProject.Nodes.GetByEntryId("d2fb1cb7-e0c0-4334-bf86-be0f08163953");

Get by entry string id async

C#
1
2
3
public async Task<List<Node>> GetByEntryIdAsync(string entryId) { }
C#
1
2
3
4
5
6
7
8
9
10
using Zengenti.Contensis.Management; // Create a client var client = ManagementClient.Create(); // Retrieve the relevant project var movieDbProject = client.Projects.Get("moviedb"); // Get a specific node with assigned entry id List<Node> nodesWithEntryAssigned = await movieDbProject.Nodes.GetByEntryIdAsync("d2fb1cb7-e0c0-4334-bf86-be0f08163953");

Still need help?

New support request