Latest Release:
Latest Build:
Support:
Documentation (GitHub Wiki)
Questions (Our Umbraco Forum)
Issue Logging (GitHub Issues)
nuPickers is a collection of Umbraco v7 Property Editors
License: MIT License
Latest Release:
Latest Build:
Support:
Documentation (GitHub Wiki)
Questions (Our Umbraco Forum)
Issue Logging (GitHub Issues)
Tried to test nuPickers, running it on Umbraco 7.2 alpha on a SQL CE database.
But i keep getting this error in the log:
executing query select id as Key, tag as Label from cmsTags
System.ArgumentException: Keyword not supported: 'flush interval'.
Doesn't it work on SQL CE?
Would be a shame not being able to use it on a hosted site, where there only is SQL CE.
Need to confirm the name 'DotNet', but configuration could be consist of the following fields:
Add Property Editors:
Custom Labels may require access to the datatype prevalues, so need a key to this data
also add contextId and propertyAlias as optional parameters ?
dataset could be massive and dependent on a typeahead value - so need to store the label for any picked items (rather than just the key) as need to be able to reconstruct the picked list (without any data)
When I use the CSV format to store values for an XML Typeahead, stored values are not properly displayed when a content node is reloaded (e.g. after saving, leaving node, and entering node again).
Changing the save format to JSON fixes this issue.
Note that the CSV format is the only format that facilitates easy data importing (since it does not require the value label in the data set).
Just terminology semantics
I'd recommend doing this before an official v1.0.0 release - as to not become a breaking change.
We're seeing a major problem with syncing Pickers across Document Types.
We are trying to relate different document types (such as a Product and a Download) using a bidirectional "relation only" data type. We actually have two different pickers, one for each end of the relationship, but have them both mapped to the same Relation Type. The picker for the Product node has a list of Downloads that can be related. The picker for the Download node has a list of Products that can be related. These two lists of Products and Downloads are the same parent/child ids that get saved in the Relation table, but the two pickers do not sync. We can only see the checkboxes from the childId node where the selections were originally made.
If we only use one nuPicker then the values are synced, but that isn't practical because we need a different set of checkboxes depending on which end of the relationship the admin is making the selections (product node or download node).
Has anyone else encountered this? Is this a limitation of nuPickers or are we implementing it wrong?
Thank you!
cursor down on typeahead list picker should trigger keyboard navigation of the selectable options
Hi there, long time uComponents fan, first time nuPicker user... here's a question ✨
Currently all of the property-editors are being ran through the PickerPropertyValueConverter
, which returns a Picker
object.
I'm wondering why the DropDown pickers need to be converted, as they are typically a single string
value?
when saving a single item as a csv, and that item is a number something somewhere is converting this to a number rather than a string - potentially causing an overflow error
Would it be possible to have the relative url use the current request's domain as the root of the url instead of using mappath to determine the actual location on disk of the requested path. This way we can use our own web api with the Json data picker for example.
Hello,
I have an issue where nuPickers is working locally, but on the production environment, all of a sudden I am experiencing an error similar to this:
nuPickers.Shared.CheckBoxPicker.CheckBoxPickerEditorController' is not a function, got undefined at Error (native)
DependencyHandler.axd?s=L3VtYnJhY…MuYmxvY2t0eXBlcy5jb250cm9sbGVyLm1pbi5qczs&t=Javascript&cdv=545262247:7:622
Any ideas what this might be? I tried deleting the client dependency folder but no joy.
Edit: when trying to set up a data type using the nupickers, I am getting an error whereby I cannot select the assembly. The error reads:
"An error has occurred.","ExceptionMessage":"The 'ObjectContent`1' type failed to serialize the response body for content type 'application/json; charset=utf-8'.","ExceptionType":"System.InvalidOperationException","StackTrace":null,"InnerException":{"Message":"An error has occurred.","ExceptionMessage":"Could not load file or assembly '311296 bytes loaded from uComponents.nuPickers, Version=1.2.1.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format."
Thanks in advance,
Kenny
Add the ability for the DropDown Picker to render custom markup - is there a preferred custom drop down to use ?
1st rename Relation Matches to Relation Labels
Part of uComponents, but missing as a Data Type in Umbraco 7 is the Link/URL picker (or at least I can't find it). As a suggestion perhaps add this to nuPickers??
Name to be confirmed (PagedList Picker / PagedGrid Picker... ?)
The goal of this picker is to be able to present a large set of data to browse and pick from (without the need for any typeahead text, or restricting the height of a prefetch list picker)
The selectable items would be rendered in pages and items could be toggled - there could be an option to render the selected items in a separate list so that they can be sorted.
The picked nodes of a LucenePrefetchListPicker do not allow sorting. This is unlike the LuceneTypeaheadListPicker, which does allow sorting.
Hi all!
Love the nuPickers project – amazingly powerful and well structured, even for someone as slow as myself =)
I'm able to wire-up a bi-directional relationship between two published Documents and can render the PickedKeys value on the front-end without a problem. However, when I try to query the same data from a remote page (without using Model or CurrentPage) the PickedKeys Count is always 0.
I'm linking Products to Product Categories. So, on the Product View, this works perfectly:
var productCategories = Model.Content.GetPropertyValue<Picker>("category");
@productCategories.PickedKeys.Count() // Renders "3"
But retrieving the same product from a remote page (ie. the site Home page) doesn't work:
IPublishedContent product = Umbraco.TypedContent(1234); // Product exists elsewhere in the Content tree
var productCategories = product.GetPropertyValue<Picker>("category");
@productCategories.PickedKeys.Count() // Renders "0"
Is this a limitation of nuPickers, Umbraco 7, or am I simply misunderstanding how to query the data in this type of situation?
Thank you!
I have implemented the IDotNetDataSource in a class library project (using latest Umbraco core libs and nuPickers from NuGet) and dropped the binary in the Umbraco bin folder.
When I create a data type based on a nuPickers:DotNet property editor I can select the assembly yet no class names are returned: the dropdown remains empty (the ajax call completes without errors and returns an empty array).
warning to indicate that data is only stored in relations, and not the xml cache, hence requires a db hit
The EnumExtensions now contains the following methods:
GetKey
GetLabel
The EnumDataSource attribute also has an Enabled property. It would be nice if you could also return that boolean with a GetEnabled extension method.
I can confirm unpublished nodes are not shown for the xmlTypeaheadList and xmlPrefetchList. This is in opposition to the way the Umbraco.ContentPickerAlias and Umbraco.MultiNodeTreePicker work.
Steps to reproduce:
I'm using a (near) empty v7.1.4 install, with no code in App_Code.
A Lucene DataSource could be configured with the following fields:
Add Property Editors:
Hi,
I'm using the XML Dropdown picker with an xpath of
$currentPage/ancestor-or-self::Legislature//PoliticalGroupList/PoliticalGroup/*[@isdoc]
The xpath works but only if I save the document first. That is, as soon as I create a new document the XML Dropdown picker is empty. Once I save the document, then the picker loads with the correct values.
If I use an MNTP picker, the xpath works as expected. However, I then have problems due to requiring a Max no. of items restriction and its value not being populated in editorState when using angularjs (http://our.umbraco.org/forum/developers/api-questions/56606-Custom-Property-Editor-Get-value-of-MultiNodeTreePicker)
Am I doing something wrong? Is there a way to force the dropdown to populate on creation of document?
Thanks
Umbraco 7.1.6
nuPicker 1.2.1
Hi!
Today we have started to use nuPickers ... and the first thing we want to say you is THANK YOU for these incredible property editors!!
We have added a nuPicker property editor to a Content Type using the relation mapping feature. Everything seems to work properly. The problem is when you decide to remove this property from the content type, the relations created are still here! Is that normal?
Umbraco v7.1.4 and nuPickers v 1.2.1
Cheers,
Alain
The typeahead changes results out of sync and search results doesn't always match what's typed. Waiting a bit seems to make it end up with the right result. Also seems like the xpath one doesn't respect the actual xpath. //DocTypeName is set, but it returns other doc types.
I installed nuPickers 1.2.1 from NuGet into a pretty clean Umbraco 7.1.7 install. At some point everything seemed to be working but then when I came to run it this morning I started to see a 404 for every single plugin. The 404 was triggered by lazyload.min.js:258 An example file that was returning a 404 is:
I noted the App_Plugins/nuPickers/ folder doesn't exist in my installation.
I also uninstalled and reinstalled nuPickers, but error persisted. I also deleted client dependency cache and ran Chrome with cache disabled (and debug='true' in web.config).
What about adding previewing of data, i.e. on a Dropdown list, whilst inserting the xpath/JsonPath, the user gets to see a table of resolved values
currently when picking items, the picked item is added to the bottom of the list - if sorting is not enabled, then ensure picked items are added in the same order as they are in the selectable list
as all pickers use the same PropertyValueConverter move this back to root (simpler namespace referencing - but breaking change)
the returned Picker obj belongs at root - the constructor could be made public so this can be reused outside the scope of the PropertyValueConverter (eg.by a typed DotNet Picker)
RE: LucenePrefetchList Picker
Pick multiple nodes and Save --> success (watching umbraco.config and website)
Sort selected items and Save --> no sort changes saved(just new updateDate in umbraco.config)
Add new item and Save --> new item and order save successfully
In a load balanced environment, I am forcing site admin to one box, so it's not load balanced, per Umbraco doc, but the Controllers aren't loading when ClientDependency is running.
When admin-ing my Data Type that uses xmlTypeAheadPicker, the screen doesn't render correctly and Chrome Dev shows the error:
Error: Argument 'nuComponents.DataTypes.Shared.ListPicker.ListPickerEditorController' is not a function, got undefined
In Chrome Dev, I cannot find that namespace when I search the scripts.
When admin-ing content that uses this DataType, the typeahead does not work and Chrome Dev shows the error:
error: Argument 'nuComponents.DataTypes.Shared.RelationTypeMapping.RelationTypeMappingConfigController' is not a function, got undefined
If I publish a debug version to turn OFF script bunding via ClientDependency then everything works. I can find the namespace in Chrome in unminified /Umbraco/App_Plugins/nuComponents/DataTypes/Shared/TypeAheadListPicker
FYI, the other custom DataTypes are in /App_Plugins, not /Umbraco/App_Plugins, could that make a difference?
grey out whole property row
add a method to the Picker obj to return source data (+ overload for typeahead ?)
highlight text in labels that matches any typeahead input, or prefetch filtering input
If there is an issue with the URL data source, such as the file is malformed (XML and JSON) there should be some kind of reporting to the users? or maybe logging to the log file.
Maybe implement some kind of caching per datatype? I.e. for an implementation of a Xml/json drop down list, user can say this document doesn't change very often, cache it for 6 hours, maybe with the option in the to clear the cache should they want to.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.