Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi:
I am importing entries from external data source and need to filter entries imported by ID number.
During import process, system will check if current entry ID is contained in an array of skippable numbers and, in that case, entry will be ignored.
Is there anyaway i can do that in pure XSLT? I could use a C# function but i prefer not to.
If you could send me an example explaining how to do array check you will make my day ;-)
Thanks,Ivan
You can use the contains function, I have used it to hide defined nodeTypes from the menu:
<xsl:param name="nodeTypes">dtFeriCareer;dtFeriStiftungsCommunityStiftung;</xsl:param><xsl:for-each select="... and contains($nodeTypes, concat(@nodeTypeAlias, ';'))">
hth, Thomas
You are the best Thomas ;-)
Thanks a lot!
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Help for filtering import from external data source
Hi:
I am importing entries from external data source and need to filter entries imported by ID number.
During import process, system will check if current entry ID is contained in an array of skippable numbers and, in that case, entry will be ignored.
Is there anyaway i can do that in pure XSLT? I could use a C# function but i prefer not to.
If you could send me an example explaining how to do array check you will make my day ;-)
Thanks,
Ivan
You can use the contains function, I have used it to hide defined nodeTypes from the menu:
hth, Thomas
You are the best Thomas ;-)
Thanks a lot!
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.