Submit a new idea! Ideas for #Office365 #SharePoint custom feedback using lists,CSS & scripts

Its a beautiful day outside. Drizzles with a sweet sweet rainbow. Looking out longingly I got an idea,

How about we work on a fun form exercise?! It’ll be pretty, it’ll be functional and it’ll be in #Office365 with simple controls and script. Sounds fun no?

I thought it was. I was also inspired by Netflix, Starbucks and all things good and great in this world including but not limited to W3CSS, Bootstrap, JS and oh wait! SHAREPOINT and FORMS!!!

Since the code part is pretty self explanatory, am not gonna delve(see what I did there wink wink) deep in it. Still, to recreate this pretty form, you need to
  •  Create a list (SubmitYourIdea in this sample and yep am pretty creative)
    • Structure of the list is pretty straightforward, a few custom columns depending on what you want to gather from contributors:


  • Create a script file in your Site Assets (or anywhere else you please) call it PutYourThoughts.js (cause… why not?) You are welcome to copy the script and edit to suite your taste. I just chose something fun to do as a proof of concept and share it with my interweb peeps.
  • Create a site page and include the script file reference in a Content Editor Web Part/Script Editor web part. Save and page and here you go, a  completely responsive form for your folks to submit ideas on new projects/categories/just badmouth how awful the current project sucks. Freedom of speech rules!ideaform.png

Where is the Netflix and Starbucks connection you ask? Well, the form theme is inspired from them. So thanks folks!

What are the other uses/ possible derivatives using this idea?

  1. You can collect feedbacks(on your sites, projects, etc.,)
  2. Use this as a way to gather ideas from your team/staff
  3. Connect this with a #flow and extend its usage more! 🙂

Enjoy your new incoming ideas! Keep learning and sharing. Almost forgot, here is the solution in action with a not so subtle hint of enhancement to the code.


TFS Delete Project

There are many ways to delete a TFS project that is not being used. One way to do that is by using the command line and TFSDeleteProject executable file which is available in C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE

or under Microsoft Visual Studio 11.0 depending on the version of Visual Studio we are using.

The syntax for deleting a project from command line is;

TFSDeleteProject /collection:http://yourTFSurl “project name” 

Quotes for project name is necessary if our project name has spaces in between otherwise it can be ignored. That should take care of the project in TFS. Alternatively we can also try deleting the project with

tf destroy $/project name

In-spite of the above trials I had ghost project that showed up in Source Control explorer and it can be very misleading.

Here is what I did that removed my unused projects.

1.Mapped the broken project to a local folder

2.Deleted the project from TFS

3.Checked in the changes

The broken/unused projects are gone from TFS Source control explorer now.

The reason why the project was not deleted before could be that there were some files in the source controlled version of the project that were not fully deleted from the local folder in-spite of removing the mapping. Remapping the project brought the pending files and deleting the TFS project + check in took care of those corrupted files.

A good thread to follow on similar issue  is