Skip to content

Commit

Permalink
Added support for CRM 2015
Browse files Browse the repository at this point in the history
  • Loading branch information
taarskog committed Apr 27, 2016
1 parent 44a5e83 commit ef5b392
Show file tree
Hide file tree
Showing 22 changed files with 522 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .gitignore
Expand Up @@ -2,10 +2,10 @@ src/wwwroot/powerBi.css
src/wwwroot/scripts/**/*.js
src/wwwroot/lib/

solutionSrc/**
!solutionSrc/**/*.xml
!solutionSrc/**/*.resx
!solutionSrc/WebResources/his_/scripts/powerBiConfig.js
solutionSrc*/WebResources/**/*.css
solutionSrc*/WebResources/**/*.html
solutionSrc*/WebResources/**/*.js
!solutionSrc*/WebResources/his_/scripts/powerBiConfig.js

.vs/
bower_components/
Expand Down
16 changes: 16 additions & 0 deletions solutionSrc-crm7/Other/Customizations.xml
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<ImportExportXml xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Entities />
<Roles />
<Workflows />
<FieldSecurityProfiles />
<Templates />
<EntityMaps />
<EntityRelationships />
<OrganizationSettings />
<optionsets />
<WebResources />
<Languages>
<Language>1033</Language>
</Languages>
</ImportExportXml>
2 changes: 2 additions & 0 deletions solutionSrc-crm7/Other/Relationships.xml
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="utf-8"?>
<EntityRelationships />
103 changes: 103 additions & 0 deletions solutionSrc-crm7/Other/Solution.xml
@@ -0,0 +1,103 @@
<?xml version="1.0" encoding="utf-8"?>
<ImportExportXml version="7.0.0002.0072" SolutionPackageVersion="7.0" languagecode="1033" generatedBy="CrmLive" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SolutionManifest>
<UniqueName>PowerBIViewer</UniqueName>
<LocalizedNames>
<LocalizedName description="Power BI Viewer" languagecode="1033" />
</LocalizedNames>
<Descriptions>
<Description description="Embed tiles and reports from Power BI into CRM Dashboards and Forms." languagecode="1033" />
</Descriptions>
<Version>0.3.0</Version>
<Managed>2</Managed>
<ConfigurationPage>his_/powerBiConfig.html</ConfigurationPage>
<Publisher>
<UniqueName>heiigjensolutions</UniqueName>
<LocalizedNames>
<LocalizedName description="Heiigjen Solutions" languagecode="1033" />
</LocalizedNames>
<Descriptions>
<Description description="Solutions for Dynamics CRM by Heiigjen Solutions." languagecode="1033" />
</Descriptions>
<EMailAddress>trond@heiigjen.com</EMailAddress>
<SupportingWebsiteUrl xsi:nil="true"></SupportingWebsiteUrl>
<CustomizationPrefix>his</CustomizationPrefix>
<CustomizationOptionValuePrefix>91030</CustomizationOptionValuePrefix>
<Addresses>
<Address>
<AddressNumber>1</AddressNumber>
<AddressTypeCode>1</AddressTypeCode>
<City xsi:nil="true"></City>
<County xsi:nil="true"></County>
<Country xsi:nil="true"></Country>
<Fax xsi:nil="true"></Fax>
<FreightTermsCode xsi:nil="true"></FreightTermsCode>
<ImportSequenceNumber xsi:nil="true"></ImportSequenceNumber>
<Latitude xsi:nil="true"></Latitude>
<Line1 xsi:nil="true"></Line1>
<Line2 xsi:nil="true"></Line2>
<Line3 xsi:nil="true"></Line3>
<Longitude xsi:nil="true"></Longitude>
<Name xsi:nil="true"></Name>
<PostalCode xsi:nil="true"></PostalCode>
<PostOfficeBox xsi:nil="true"></PostOfficeBox>
<PrimaryContactName xsi:nil="true"></PrimaryContactName>
<ShippingMethodCode>1</ShippingMethodCode>
<StateOrProvince xsi:nil="true"></StateOrProvince>
<Telephone1 xsi:nil="true"></Telephone1>
<Telephone2 xsi:nil="true"></Telephone2>
<Telephone3 xsi:nil="true"></Telephone3>
<TimeZoneRuleVersionNumber xsi:nil="true"></TimeZoneRuleVersionNumber>
<UPSZone xsi:nil="true"></UPSZone>
<UTCOffset xsi:nil="true"></UTCOffset>
<UTCConversionTimeZoneCode xsi:nil="true"></UTCConversionTimeZoneCode>
</Address>
<Address>
<AddressNumber>2</AddressNumber>
<AddressTypeCode>1</AddressTypeCode>
<City xsi:nil="true"></City>
<County xsi:nil="true"></County>
<Country xsi:nil="true"></Country>
<Fax xsi:nil="true"></Fax>
<FreightTermsCode xsi:nil="true"></FreightTermsCode>
<ImportSequenceNumber xsi:nil="true"></ImportSequenceNumber>
<Latitude xsi:nil="true"></Latitude>
<Line1 xsi:nil="true"></Line1>
<Line2 xsi:nil="true"></Line2>
<Line3 xsi:nil="true"></Line3>
<Longitude xsi:nil="true"></Longitude>
<Name xsi:nil="true"></Name>
<PostalCode xsi:nil="true"></PostalCode>
<PostOfficeBox xsi:nil="true"></PostOfficeBox>
<PrimaryContactName xsi:nil="true"></PrimaryContactName>
<ShippingMethodCode>1</ShippingMethodCode>
<StateOrProvince xsi:nil="true"></StateOrProvince>
<Telephone1 xsi:nil="true"></Telephone1>
<Telephone2 xsi:nil="true"></Telephone2>
<Telephone3 xsi:nil="true"></Telephone3>
<TimeZoneRuleVersionNumber xsi:nil="true"></TimeZoneRuleVersionNumber>
<UPSZone xsi:nil="true"></UPSZone>
<UTCOffset xsi:nil="true"></UTCOffset>
<UTCConversionTimeZoneCode xsi:nil="true"></UTCConversionTimeZoneCode>
</Address>
</Addresses>
</Publisher>
<RootComponents>
<RootComponent type="61" schemaName="his_/lib/adal.min.js" />
<RootComponent type="61" schemaName="his_/lib/adal_angular.min.js" />
<RootComponent type="61" schemaName="his_/lib/angular.min.js" />
<RootComponent type="61" schemaName="his_/lib/angular_route.min.js" />
<RootComponent type="61" schemaName="his_/lib/clipboard.min.js" />
<RootComponent type="61" schemaName="his_/powerBi.css" />
<RootComponent type="61" schemaName="his_/powerBiConfig.html" />
<RootComponent type="61" schemaName="his_/powerBiViewer.html" />
<RootComponent type="61" schemaName="his_/scripts/powerBiConfig.js" />
<RootComponent type="61" schemaName="his_/scripts/powerBiViewer.js" />
<RootComponent type="61" schemaName="his_/views/config.html" />
<RootComponent type="61" schemaName="his_/views/configerror.html" />
<RootComponent type="61" schemaName="his_/views/report.html" />
<RootComponent type="61" schemaName="his_/views/tile.html" />
</RootComponents>
<MissingDependencies />
</SolutionManifest>
</ImportExportXml>
167 changes: 167 additions & 0 deletions solutionSrc-crm7/Resources/en-US/resources.en-US.resx
@@ -0,0 +1,167 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="Source LCID" xml:space="preserve">
<value>1033</value>
</metadata>
<metadata name="Source file" xml:space="preserve">
<value>PowerBIViewer_0_0_1_managed.zip</value>
</metadata>
<metadata name="Source package type" xml:space="preserve">
<value>Both</value>
</metadata>
<metadata name="SolutionPackager Version" mimetype="application/x-microsoft.net.object.binary.base64">
<value>
AAEAAAD/////AQAAAAAAAAAEAQAAAA5TeXN0ZW0uVmVyc2lvbgQAAAAGX01ham9yBl9NaW5vcgZfQnVp
bGQJX1JldmlzaW9uAAAAAAgICAgIAAAAAAAAAAAAAAAAAAAACw==
</value>
</metadata>
<data name="15062:Description,heiigjensolutionshis91030" xml:space="preserve">
<value>Solutions for Dynamics CRM by Heiigjen Solutions.</value>
<comment> 'heiigjensolutions' : Description for Solution Publisher</comment>
</data>
<data name="15062:Description,heiigjensolutionshis91030" xml:space="preserve">
<value>Solutions for Dynamics CRM by Heiigjen Solutions.</value>
<comment> 'heiigjensolutions' : Description for Solution Publisher</comment>
</data>
<data name="15062:Description,PowerBIViewer" xml:space="preserve">
<value>Embed tiles and reports from Power BI into CRM Dashboards and Forms.</value>
<comment> 'PowerBIViewer' : Description for Solution</comment>
</data>
<data name="15062:Description,PowerBIViewer" xml:space="preserve">
<value>Embed tiles and reports from Power BI into CRM Dashboards and Forms.</value>
<comment> 'PowerBIViewer' : Description for Solution</comment>
</data>
<data name="15062:LocalizedName,heiigjensolutionshis91030" xml:space="preserve">
<value>Heiigjen Solutions</value>
<comment> 'heiigjensolutions' : LocalizedName for Solution Publisher</comment>
</data>
<data name="15062:LocalizedName,heiigjensolutionshis91030" xml:space="preserve">
<value>Heiigjen Solutions</value>
<comment> 'heiigjensolutions' : LocalizedName for Solution Publisher</comment>
</data>
<data name="15062:LocalizedName,PowerBIViewer" xml:space="preserve">
<value>Power BI Viewer</value>
<comment> 'PowerBIViewer' : LocalizedName for Solution</comment>
</data>
<data name="15062:LocalizedName,PowerBIViewer" xml:space="preserve">
<value>Power BI Viewer</value>
<comment> 'PowerBIViewer' : LocalizedName for Solution</comment>
</data>
</root>
13 changes: 13 additions & 0 deletions solutionSrc-crm7/WebResources/his_/lib/adal.min.js.data.xml
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<WebResource>
<WebResourceId>{da3c8fe3-2fdf-e511-80df-d89d67630e38}</WebResourceId>
<Name>his_/lib/adal.min.js</Name>
<DisplayName>lib/adal.min.js</DisplayName>
<WebResourceType>3</WebResourceType>
<IntroducedVersion>0.0.1</IntroducedVersion>
<IsEnabledForMobileClient>0</IsEnabledForMobileClient>
<IsCustomizable>1</IsCustomizable>
<CanBeDeleted>1</CanBeDeleted>
<IsHidden>0</IsHidden>
<FileName>/WebResources/his_libadalminjsDA3C8FE3-2FDF-E511-80DF-D89D67630E38</FileName>
</WebResource>
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<WebResource>
<WebResourceId>{de3c8fe3-2fdf-e511-80df-d89d67630e38}</WebResourceId>
<Name>his_/lib/adal_angular.min.js</Name>
<DisplayName>lib/adal_angular.min.js</DisplayName>
<WebResourceType>3</WebResourceType>
<IntroducedVersion>0.0.1</IntroducedVersion>
<IsEnabledForMobileClient>0</IsEnabledForMobileClient>
<IsCustomizable>1</IsCustomizable>
<CanBeDeleted>1</CanBeDeleted>
<IsHidden>0</IsHidden>
<FileName>/WebResources/his_libadal_angularminjsDE3C8FE3-2FDF-E511-80DF-D89D67630E38</FileName>
</WebResource>
13 changes: 13 additions & 0 deletions solutionSrc-crm7/WebResources/his_/lib/angular.min.js.data.xml
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<WebResource>
<WebResourceId>{e23c8fe3-2fdf-e511-80df-d89d67630e38}</WebResourceId>
<Name>his_/lib/angular.min.js</Name>
<DisplayName>lib/angular.min.js</DisplayName>
<WebResourceType>3</WebResourceType>
<IntroducedVersion>0.0.1</IntroducedVersion>
<IsEnabledForMobileClient>0</IsEnabledForMobileClient>
<IsCustomizable>1</IsCustomizable>
<CanBeDeleted>1</CanBeDeleted>
<IsHidden>0</IsHidden>
<FileName>/WebResources/his_libangularminjsE23C8FE3-2FDF-E511-80DF-D89D67630E38</FileName>
</WebResource>
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<WebResource>
<WebResourceId>{e63c8fe3-2fdf-e511-80df-d89d67630e38}</WebResourceId>
<Name>his_/lib/angular_route.min.js</Name>
<DisplayName>lib/angular_route.min.js</DisplayName>
<WebResourceType>3</WebResourceType>
<IntroducedVersion>0.0.1</IntroducedVersion>
<IsEnabledForMobileClient>0</IsEnabledForMobileClient>
<IsCustomizable>1</IsCustomizable>
<CanBeDeleted>1</CanBeDeleted>
<IsHidden>0</IsHidden>
<FileName>/WebResources/his_libangular_routeminjsE63C8FE3-2FDF-E511-80DF-D89D67630E38</FileName>
</WebResource>
13 changes: 13 additions & 0 deletions solutionSrc-crm7/WebResources/his_/lib/clipboard.min.js.data.xml
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<WebResource>
<WebResourceId>{1d26d893-11f4-e511-80df-6c3be5beee0c}</WebResourceId>
<Name>his_/lib/clipboard.min.js</Name>
<DisplayName>lib/clipboard.min.js</DisplayName>
<WebResourceType>3</WebResourceType>
<IntroducedVersion>0.1.1</IntroducedVersion>
<IsEnabledForMobileClient>0</IsEnabledForMobileClient>
<IsCustomizable>1</IsCustomizable>
<CanBeDeleted>1</CanBeDeleted>
<IsHidden>0</IsHidden>
<FileName>/WebResources/his_libclipboardminjs1D26D893-11F4-E511-80DF-6C3BE5BEEE0C</FileName>
</WebResource>

0 comments on commit ef5b392

Please sign in to comment.