Quantcast
Channel: C1 CMS Foundation - Open Source on .NET
Viewing all articles
Browse latest Browse all 2540

New Post: Page folder data relations, one to many, console form

$
0
0
Ok guys, after some tries on weekends, I can say exactly what I want:

There is very strange behavior - without filter it returns all the Colors from all page data folders. With filter - nothing returns. I'm stuck on it. Pls help, it looks like a some bug - when function ActivePageReferenceFilter called from a console it returns nothing. (add some data to page folder)

<functions>
<f:widgetfunction xmlns:f="http://www.composite.net/ns/function/1.0" name="Composite.Widgets.Selector">
    <f:param name="Options">
        <f:function name="List.Colors.GetColorsXml">
            <f:param name="PropertyNames">
                <f:paramelement value="PageId" />
                <f:paramelement value="Id" />
                <f:paramelement value="Name" />
            </f:param>
            <f:param name="Filter">
                <f:function name="List.Colors.ActivePageReferenceFilter">
                    <f:param name="SitemapScope" value="Current" />
                </f:function>
            </f:param>
        </f:function>
    </f:param>
    <f:param name="KeyFieldName" value="Name" />
    <f:param name="LabelFieldName" value="Name" />
</f:widgetfunction>
</functions>

Viewing all articles
Browse latest Browse all 2540

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>