Is it possible to filter a drop down list when not using a service? - orbeon

Using services and actions in Form Builder it is possible to have multilevel drop down lists (e.g., Region, District, Municipality) that are automatically filtered by selection. Is there currently any way to support this sort of functionality without using services?
I think the answer is no, but need to ask. This might fit under the open issue: "FB: Actions independent from services" and maybe in conjunction with the new Datasets feature. However, I am currently using 2016.2.1 so Datasets are not an option.

Related

How to create a "detail panel" in Cytoscape?

I'm generating networks and importing them into Cytoscape using cyREST.
I have a lot of extra information available about each node, more than can be fit into node labels. I would like the user to be able to click on a node and bring up a detail panel with this additional info. Is there any feature of Cytoscape, or an existing plugin that can do that?
There is no easy way from within CyREST to do that, although you could encode that information in a single text column and then use the 'tooltip' visual property to provide a way for a user to get the information on a mouseover. Beyond that, you would need to provide an app to integrate with your CyREST application. Several apps do exactly what you are describing (e.g. look at StringApp for an example)
-- scooter

How to add multiple *.sitemap files to mvcsitemapprovider during session start

I want to associate multiple sitemaps to mvcsitemapprovider during session_start event as sitemaps names and locations are retrieved based upon the type of client/user. But, according to documents related to mvcsitemapprovider, all *.sitemaps are getting associated to mvcsitemapprovider during application start. Is there any way, I can provide this functionality using this control?
There is no built-in per session functionality, but you could implement your own ICacheProvider to handle this requirement. Also see MvcSiteMapProvider 4.0 - Extending the Cache and Multiple SiteMaps in One Application for more guidance.
Do note that the primary reason this doesn't exist out of the box is because it would be extremely memory intensive and would not scale to very many users. Unless your navigation is completely different per user, I wouldn't recommend using this approach. A better alternative is to use the preservedRouteParameters approach to force some route values to match any value (in your case userid or clientid), and then use ISiteMapNodeVisibilityProvider, SiteMapTitleAttribute, and/or manual updating of SiteMapNode properties per request to control the visibility of the node.
Please see my open question here and explain to me why you would want to do this on GitHub, as it renders most of the features useless: https://github.com/maartenba/MvcSiteMapProvider/issues/16#issuecomment-22229604

TFS 2012 Add custom Dictionary

We're about to implement TFS 2012 and I've been having some fun customizing some work items to aid us in our reporting. One issue we have is our reporting based on clients.
Our Product Backlog Items keep our requirements, however, we need to report our requirements per client (government regulations). Some requirements will affect all clients, some will only reflect certain ones. I've been able to add a global list of clients along with a multi-select option and that part is working great.
The issue is we need to also note the requirement number for each selected client. I know I can go in and add a field for each 'Client Requirement', but as that list gets bigger, that screen will be insanely huge.
Does anybody know of such a way to implement something of the sort?
One option would be to create a custom Work Item Type for Clients. Then link your PBI's to the appropriate client WI's. When you create a link you can enter a link comment also which you could use to capture the client-specific requirement number.
I would create a custom "Client Requirement" work item that has the list of clients to select and includes a field for Client ID. You can then either use the related link type or create your own, maybe "Implements \ Implemented By" so that you can create a Reporting Services report that pulls the ID's

How foursquare check-in work

I building a similar check-in system like foursquare. I have a tables with list of locations with lat,lng. User on mobile will send a request to find location near their position with radius about 5km. How to achieve that? Are there any best practice model?
This is ideally done using a geospatial indexing system.
To make it easier on yourself, use a database with one of these built-in. MongoDB is a common example.
It allows you do perform this type of query in a similar way to other types of database queries without requiring a separate system to do the indexing (such as solr, or postgis).
See the documentation for more information:
http://www.mongodb.org/display/DOCS/Geospatial+Indexing

Rails: handle large menu lists

I have very large menu lists, that appear on every single page and also need to be updated according to user input. Additionally, I have live search implemented, to dynamically filter these lists.
What is the best approach to handle those in terms of performance?
I using a managed search service might be a good idea for your case. Or add indexes?

Resources