Salesforce Universal Application Templates

We now have a universal template for Salesforce Applications!

The following commits add the scripts and necessary code to automatically generate a new template including any code changes to core, phone and store projects.  Generation is done whenever a "clean solution" is performed, and includes installing the template so the application is available when you do a "new project" from visual studio.

There is one necessary step after the new project is created - you must right click the solution and "enable nuget package restore" for build to work.  Once this is done, your app will build.

Please look at Config.cs and MainPage.xaml.cs for a few items that need to be set, corresponding to your connected app settings in Salesforce.
Yeah, I can make it a multiple select instead in another update.


On Mon, Aug 25, 2014 at 4:12 PM, Kevin Hawkins <notifications@github.com>
wrote:

> In SalesforceSDK/TemplateWizard/TemplateForm.xaml:
>
> > +                    <ColumnDefinition></ColumnDefinition>
> > +                </Grid.ColumnDefinitions>
> > +                <Grid.RowDefinitions>
> > +                    <RowDefinition Height="Auto"/>
> > +                    <RowDefinition Height="Auto"/>
> > +                    <RowDefinition Height="Auto"/>
> > +                    <RowDefinition Height="Auto"/>
> > +                    <RowDefinition Height="Auto"/>
> > +                    <RowDefinition Height="Auto"/>
> > +                </Grid.RowDefinitions>
> > +                <TextBlock Margin="2" Grid.Row="0" Text="Client ID"/>
> > +                <TextBox Margin="2" Grid.Row="0" Grid.Column="1" x:Name="ClientID"/>
> > +                <TextBlock Margin="2" Grid.Row="1" Text="Callback URL"/>
> > +                <TextBox Margin="2" Grid.Row="1" Grid.Column="1" x:Name="CallbackURL"/>
> > +                <TextBlock Margin="2" Grid.Row="2" Text="Scopes"/>
> > +                <TextBox Margin="2" Grid.Row="2" Grid.Column="1" Text="web, api" x:Name="Scopes"/>
>
> Maybe in a future rev, it would be nice to have a multi-select for these
> options, if possible.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/forcedotcom/SalesforceMobileSDK-Windows/pull/7/files#r16686984>
> .
>