Material Design Lite - Multi-select dropdown - material-design

How do you create a multi-select dropdown using the material design lite library? I can't seem to find anything on this.
I'm basically after something like this: codepen.io/pen/?&editable=true&editors=101

At this moment it still doesn't support multi-select.

Related

Actions on Google - How can I display a table?

The Google Assistant can currently do this but I'm not sure if there is a way to display a clean table with the Actions on Google library. I would like to reproduce a table similar to what is displayed in the following screenshot:
This doesn't look like any of the components that are available in the library.
Would it be possible to achieve this with a BasicCard and Lists?
The exact UI above is not currently possible using the 3P components. You can use similar widgets like a list or carousel to get close to the UI above, or render the whole thing as an image and return as a card.
For anyone else with the same question, Google recently announced consumer availability of rich responses optimized for Smart Displays. As of 7/26/2018, you can now have responses with table cards.

Creating a custom view style in Sharepoint 2013?

We're currently building a sharepoint 2013 site but the need to create a custom view style has now become apparent. When viewing documents, the following features would be ideal:
The ability to specify conditional colour values based off dropdown
values.
The ability to add additional styles to a list view - table padding
etc.
The ability to show additional content to a list view - table headings
etc.
As a short term solution we've enabled a thumbnail image to be chosen when a document is added, but this is less than ideal - especially for the client.
We can't seem to find any documentation on how to create a custom view style anywhere so your knowledge would be greatly appreciated.
Thanks!
P.S I should note that:
We only have access to Sharepoint Designer 2013 and not 2010.
We cannot use any external JS libaries.
I think there are no poor or stupid questions. But styling in SharePoint is a wide area. The prefered way for styling and customizing is JSLink, here is a basic tutorial that might help:
http://www.martinhatch.com/2013/08/jslink-and-display-templates-part-1.html

SharePoint 2013 KnockoutJS Lookup columns

I have a basic knockoutjs project loading data from a SharePoint 2013 list scenario. Getting data and displaying data is easy, the problem that I'm running into is on the edit mode displaying the proper control. Everything should not be a textbox. This means the people picker control to dropdownmenus to calendar controls.
MSFT has some pretty good documentation on using the client side people picker control here"http://msdn.microsoft.com/en-us/library/office/jj713593.aspx
The problem that I have is calling this control inside my viewmodel.
Setting the value of the control doesn't look difficult courtesy of this blog post: http://www.sharepointcolumn.com/sp2013-setting-people-picker-value-in-newform-aspx/
I attempted to looking into computed values, but that doesn't seem to work. Does anyone have a blog post that I skipped over? The closest related post that I can find: http://yetanothersharepointblog.wordpress.com/2012/12/11/working-with-sharepoint-lookup-columns-in-knockout-js/
Lastly since it seems that I'm the only one doing this, does anyone think that I should not be reinventing the wheel with my forms and should just link each item to the appropriate SharePoint list item in edit or display view? I suppose that would be easier.
From a SharePoint Professional to another, I would highly recommend you to do that.
Just redirect the user to the item edit/display item page an let SharePoint take the leash of how to handle UI form elements.
Because, assume that you implement your custom form, what if the user decides to add one more site column to the list? Will you update your code to support another field?
From my personal experience with the beast I've come to the conclusion that structural implementation over already existent functionality tends to go wrong.
Also, if you have some kind of listing of items custom made and you want to provide editing, try to do something opening a pretty SP.UI.ModalDialog, its elegant and you use the sharepoint to do the work for you.
But it's just an advise.

CRM 2011 Dialog with Dynamic Advanced Find

I have written a Dialog that uses an Advanced Find where the user types in part of a search term, i.e., similar to:
Dialog’s Query Step: Demystifying the Advanced Mode Capabilities.
In my case I created one to find all the Contacts in a post code area starting with "xyz..."
It works fine and I get the contacts in a picklist. How can I get this in a grid of results like you can for a regular advanced find? As I understand it the Query CRM data operation only gives you radio buttons or a list as output types. But is there some ingenious way of grabbing the results perhaps via a child workflow and writing them to a grid?
I'm sure you're looking for something a little more out of the box, but one approach would be to use an HTML web resource. You can mimic the dialog look and feel by using the CRM 2011 Style Guide included in the SDK (in the sdk\resources\styleguide folder).
I think this cant be done out of the box. You can of course create a webresource and then embed the advanced find view using fetchxml query.
Please take a look at the following url. Hope it helps.
http://crmentropy.blogspot.com/2009/11/embedding-advanced-find-views-in-entity.html

A minimal code webpart that displays a single picked item from a list

I'm not sure this is possible, but figured I´d give it a shot. First a few pre-requeistes and environment details:
I´m using SharePoint 2010, SharePoint
Designer 2010, VS 2010
I want to create as little code as
possible, preferably, create it all via UI or Designer
use out of the box components as much
as possible
Here is What I want to do:
Have a custom list with custom columns (easy part)
Create a webpart with an edit interface to select a single item from this list
This same webpart when visible would display the contents of this selected item in a given layout
I know I can do this creating a custom web part and code it all from scratch, I guess my main question is, is there a way to do this with less code and more out of the box components in SP2010. If not, I guess I'm left with lots of C# code.
Any tips, or pointers in this direction will be most welcome. Thanks in advance.
I think what you're looking for is the Data Form Web Part.
Unfortunately, I can't find any good tutorials for 2010, but hopefully the steps should be similar to setting it up in 2007.
Thanks all for the update. In the end, i had to create quite a bit of code to get this to work:
created a web part that enumerates
the content type,
creates a light box that has a picker
then stores the ID of the content in a column
Not the easiest way,but the only way I could get it working. Thanks again!

Resources