Started a new project today which requires upgrading a work laptop to support windows phone dev work.
Here is what you need:
1.) 64 bit OS - Windows 8.1 (Minimum of Windows 8.1 Pro)
2.) Windows Phone SDK - https://dev.windowsphone.com/en-us/downloadsdk
Note: This will install Visual Studio Express if you do not have a copy of VS already installed.
This means you can run it without paying for VS, the express version is free.
3.) Enable HyperV support on your BIOS. This is different for each manufacturer.
Intel has a nice tool (http://www.intel.com/support/processors/tools/piu/sb/CS-014921.htm)
which will tell you if HyperV is available for your system. AMD's tool is a bit hard to find
this link is still good but from the 2008 timeframe.
http://www.amd.com/us-en/assets/content_type/utilities/AMD-V_Hyper-V_Compatibility_Check_Utility.zip
That should do it. The only real issue is do not forget to enable your BIOS the factory settings
most default to disabled.
Source:
http://msdn.microsoft.com/en-us/library/windowsphone/develop/ff626524(v=vs.105).aspx
http://blogs.technet.com/b/mkorp/archive/2008/06/02/hyper-v-kompatibilit-t-bei-amd-systemen.aspx
This missive records my trials and tribulations as I code my way through projects. Fix the problem once and reuse the solution!
Tuesday, February 18, 2014
Wednesday, February 12, 2014
Chart Web Part Series Hyperlink series properties
I was trying to use the settings on the Chart web part and went looking for a how to from Microsoft. Problem is that this was part of the Dundas library originally.
Found this article http://social.msdn.microsoft.com/Forums/sharepoint/en-US/873fe5fc-91f0-429c-89d2-2c1fb7bff1ba/chart-web-part-series-hyperlink-links-incorrectly?forum=sharepointgeneralprevious
Which talked about how to build a drill down capability based on a guide from Dundas
(http://support2.dundas.com/Default.aspx?article=1205)
Dundas Chart comes with built-in keywords that you can use in any combination for data point tooltips, labels, hyperlinks and legend text. This lets you easily display all kinds of information about your points in different ways.
Here is a list of all available keywords:
You are free to use these keywords in any of the following series properties, available both from our wizards and our Advanced Properties:
Source:
http://support2.dundas.com/Default.aspx?article=1132
Which talked about how to build a drill down capability based on a guide from Dundas
(http://support2.dundas.com/Default.aspx?article=1205)
Built-In Keywords for Series Properties
Dundas Chart comes with built-in keywords that you can use in any combination for data point tooltips, labels, hyperlinks and legend text. This lets you easily display all kinds of information about your points in different ways.
Here is a list of all available keywords:
| Keyword | Replaced By | Data Comes From |
|---|---|---|
| #VALX | X value of the data point. | Data point |
| #VAL, #VALY, #VALY2, #VALY3, … | Y values of the data point. | Data point |
| #SERIESNAME | Series name. | Series |
| #LABEL | Data point label. | Data point |
| #AXISLABEL | Axis data point label. | Data point |
| #INDEX | Data point index. | Data point |
| #PERCENT | Percentage of the data point Y value. | Data point |
| #TOTAL | Total of all Y values in the series. | Series |
| #AVG | Average of all Y values in the series. | Series |
| #MIN | Minimum data point of all Y values in the series. | Series |
| #MAX | Maximum data point of all Y values in the series. | Series |
| #FIRST | First data point of all Y values in the series. | Series |
| #LAST | Last data point of all Y values in the series. | Series |
- Label
- LegendText
- Href ("Hyperlink"), LabelHref ("Label Hyperlink"), and LegendHref ("Legend Hyperlink")
- ToolTip, LabelToolTip, and LegendToolTip
- MapAreaAttributes, LabelMapAreaAttributes, and LegendMapAreaAttributes
X: #VALX Y: #VALY Series: #SERIESNAME %: #PERCENTTo add the average and total to the series name in the Chart's legend, set the Series' LegendText property to:
#SERIESNAME - Total: #TOTAL - Avg: #AVGYou can format numeric and date/time values, too, by adding a Microsoft format string to the keyword. For example: "#VALY{N2}" formats the Y-value to have two numbers after the decimal place. For help formatting series properties, see this support site article. For more information on format strings, see "Numeric Format Strings" or "Date and Time Format Strings".
Source:
http://support2.dundas.com/Default.aspx?article=1132
Friday, February 7, 2014
Cascading dropdowns in newform.aspx
I decided to go ahead and do something that is pretty standard in most web forms.
That is to make dropdowns scope the number of options in the select clause. This
is fairly straightforward in a custom web app. When we want to do it inside the
Sharepoint model it is a bit more challenging.
First, thing I tried was to edit the newform.aspx in Sharepoint 2010. I noticed
that the webpart where the item adding happens is not configurable. It just displays a
sample of what you'll get rendered in the page.
The reason for this is the default webpart used here is from the type ListFormWebPart, whose behavior is to automatically render the fields and controls needed according to the list definition. No customization here.
First step I needed to do was add a CEWP to the newform.aspx. Modifying the form is challenge
1.)Add the CEWP using the UI. Doing it in Designer 2010 is a real challenge.
Open a browser and navigate to the location of the list. Append the name/value
pairing (toolpaneview=2#)
http://<yourserver>/Lists/MyCustomList/newform.aspx?toolpaneview=2
Source:
http://sharepoint.stackexchange.com/questions/20395/how-to-add-a-webpart-using-sharepoint-designer-2010
2.) Site Actions > Edit Page
newform.aspx?PageView=Shared&InitialTabId=Ribbon.WebPartPage&VisibilityContext=WSSWebPartPage#
3.) Add Web Part > Categories | Media and Content | Content Editor
4.) Your web part will say “ Edit this web part to add content to your page” Click on Content Editor Menu and go to Edit Web Part
5.) Now you can click on HTML under Format Text and click on Edit HTML Source
6.) In HTML Source Editor you can input your HTML source. This is how you edit Content Editor Web Part to add html source in SharePoint 2010
7.) Force page reload to get the page to update
Source:
http://aryannava.com/2011/05/14/how-to-edit-source-in-content-editor-web-part-in-sharepoint-2010/
8.) Next I followed this example to create a working cascading dropdown.
http://www.sharepointboris.net/js/spcd/
http://blogs.interfacett.com/sharepoint-designer-2010-creating-a-custom-list-form-with-sharepoint-2010
That is to make dropdowns scope the number of options in the select clause. This
is fairly straightforward in a custom web app. When we want to do it inside the
Sharepoint model it is a bit more challenging.
First, thing I tried was to edit the newform.aspx in Sharepoint 2010. I noticed
that the webpart where the item adding happens is not configurable. It just displays a
sample of what you'll get rendered in the page.
The reason for this is the default webpart used here is from the type ListFormWebPart, whose behavior is to automatically render the fields and controls needed according to the list definition. No customization here.
First step I needed to do was add a CEWP to the newform.aspx. Modifying the form is challenge
1.)Add the CEWP using the UI. Doing it in Designer 2010 is a real challenge.
Open a browser and navigate to the location of the list. Append the name/value
pairing (toolpaneview=2#)
http://<yourserver>/Lists/MyCustomList/newform.aspx?toolpaneview=2
Source:
http://sharepoint.stackexchange.com/questions/20395/how-to-add-a-webpart-using-sharepoint-designer-2010
2.) Site Actions > Edit Page
newform.aspx?PageView=Shared&InitialTabId=Ribbon.WebPartPage&VisibilityContext=WSSWebPartPage#
3.) Add Web Part > Categories | Media and Content | Content Editor
4.) Your web part will say “ Edit this web part to add content to your page” Click on Content Editor Menu and go to Edit Web Part
5.) Now you can click on HTML under Format Text and click on Edit HTML Source
6.) In HTML Source Editor you can input your HTML source. This is how you edit Content Editor Web Part to add html source in SharePoint 2010
7.) Force page reload to get the page to update
Source:
http://aryannava.com/2011/05/14/how-to-edit-source-in-content-editor-web-part-in-sharepoint-2010/
8.) Next I followed this example to create a working cascading dropdown.
http://www.sharepointboris.net/js/spcd/
http://blogs.interfacett.com/sharepoint-designer-2010-creating-a-custom-list-form-with-sharepoint-2010
Thursday, February 6, 2014
Creating a Custom List Form with SharePoint Designer 2010
I am stuck doing this with SharePoint Designer 2010. I wanted to customize the new item form for a list. I found several sources which gave the directions for using InfoPath. I did not need this. Finally found this article which describes how to create the new item form.
1.)Open-SharePoint-Designer
2.)SITE ACTIONS > EDIT IN SHAREPOINT DESIGNER TO OPEN SHAREPOINT DESIGNER 2010.
3.)I SELECT LISTS AND LIBRARIES FROM THE NAVIGATION PANE AND THEN SELECT your list FROM THE DETAILS PANE.
4.)Choose-New-Form
5.)Fill-Out-Form-Wizard
Now you can edit the form in SP Designer to your needs.
Source:
http://blogs.interfacett.com/sharepoint-designer-2010-creating-a-custom-list-form-with-sharepoint-2010
1.)Open-SharePoint-Designer
2.)SITE ACTIONS > EDIT IN SHAREPOINT DESIGNER TO OPEN SHAREPOINT DESIGNER 2010.
3.)I SELECT LISTS AND LIBRARIES FROM THE NAVIGATION PANE AND THEN SELECT your list FROM THE DETAILS PANE.
4.)Choose-New-Form
5.)Fill-Out-Form-Wizard
Now you can edit the form in SP Designer to your needs.
Source:
http://blogs.interfacett.com/sharepoint-designer-2010-creating-a-custom-list-form-with-sharepoint-2010
Wednesday, January 29, 2014
Can't Enable Document Sets for a site collection due to security trimming
So I was attempting to follow the directions to create a document set for a site
collection I am working on.
with an elevated account and there it was.
Lesson: If you try to do this with a normal account security trimming will not display these options.
You need to be a member of the site collection admin group as a minimum.
Source:
http://office.microsoft.com/en-us/sharepoint-server-help/create-and-configure-a-new-document-set-content-type-HA101782461.aspx?CTT=5&origin=HA101782466
collection I am working on.
- Go to the top-level site in the site collection for which you want to enable Document Sets.
- On the Site Actions menu, click Site Settings.
- Under Site Collection Administration, click Site collection features.
- Find Document Sets in the list, and then click Activate.
with an elevated account and there it was.
Lesson: If you try to do this with a normal account security trimming will not display these options.
You need to be a member of the site collection admin group as a minimum.
Source:
http://office.microsoft.com/en-us/sharepoint-server-help/create-and-configure-a-new-document-set-content-type-HA101782461.aspx?CTT=5&origin=HA101782466
Sunday, November 24, 2013
Install Gui on Windows 2012 R2
Installed the wim on the vhd and booted into Windows 2012 no issues.
When I logged in noticed that the GUI was not active. This was a new
one for me since I have just started working with 2012. Found this
helpful tip.
1. At the prompt type: powershell
2. Install-WindowsFeature Server-Gui-Shell, Server-Gui-Mgmt-Infra
Wait for it to install
3.shutdown -r -t 0
Now when you reboot you will have the GUI!
Source:
http://www.servethehome.com/windows-server-2012-install-turn-gui-powershell-command-line/
When I logged in noticed that the GUI was not active. This was a new
one for me since I have just started working with 2012. Found this
helpful tip.
1. At the prompt type: powershell
2. Install-WindowsFeature Server-Gui-Shell, Server-Gui-Mgmt-Infra
Wait for it to install
3.shutdown -r -t 0
Now when you reboot you will have the GUI!
Source:
http://www.servethehome.com/windows-server-2012-install-turn-gui-powershell-command-line/
Wednesday, November 6, 2013
MVC4 with jquery-ui datepicker - Microsoft JScript runtime error: 'jQuery' is undefined
Working on a MVC project and making good progress. Decided to start using jQuery and had real
issues using the datepicker. Kept getting this error and new it had to be something with the order
and load time.
Solution:
1. Open your _layout.cs and add the following just before the closing tag of the </body>
issues using the datepicker. Kept getting this error and new it had to be something with the order
and load time.
Solution:
1. Open your _layout.cs and add the following just before the closing tag of the </body>
@Scripts.Render("~/bundles/jquery")
@Scripts.Render("~/bundles/jqueryui")
@Styles.Render("~/Content/themes/base/css")
@RenderSection("scripts", required: false)
2. Finally to test your view, open your index.cshtml and add this at the end<p>Date: <input type="text" id="txtDate" class="datefield" /> </p> @section Scripts{ @*@Scripts.Render("~/bundles/jqueryval")*@ <script type="text/javascript"> $(document).ready(function () { $(".datefield").datepicker(); }); </script> }
source:
Subscribe to:
Posts (Atom)