Can the DataList access the "current node" for the use of the custom data source? #123
-
Beta Was this translation helpful? Give feedback.
Answered by
leekelleher
Jul 7, 2021
Replies: 1 comment 1 reply
-
Hi @hfloyd. It is possible to access the querystring parameters from custom data-source code. (See my reply on #76 (comment).) This is how I do it on the Umbraco Content data-source: Hope this helps? |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
hfloyd
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @hfloyd.
It is possible to access the querystring parameters from custom data-source code. (See my reply on #76 (comment).)
This is how I do it on the Umbraco Content data-source:
https://github.com/leekelleher/umbraco-contentment/blob/2.1.0/src/Umbraco.Community.Contentment/DataEditors/DataList/DataSources/UmbracoContentDataListSource.cs#L65
Hope this helps?