I am trying to filter
out sertan media –nodes from my media library by using media-nodetype alias,
but it seems that the media object doesn’t have such a member.
Here’s a parallel
example using nodes from content.
string alias = “news”; Node parent = new Node(some
id); Node result = parent.ChildrenAsList.Where(x
=> x.NodeTypeAlias == alias).FirstOrDefault();
Is it possible
to do something similar using Media object.
How to get at Media NodeTypeAlias field
Hi fellow umbracians
I am trying to filter out sertan media –nodes from my media library by using media-nodetype alias, but it seems that the media object doesn’t have such a member.
Here’s a parallel example using nodes from content.
Is it possible to do something similar using Media object.
Hi Maanehunden,
To get the alias of a media item you can use:
HTH,
Hendy
Good heavens,.. that did the trick,.
Tnx Hendy
is working on a reply...