adoxio / xrm-portals-community-edition Goto Github PK
View Code? Open in Web Editor NEWThe definitive edition of Microsoft Open Source Portals, supported by the experts in portals.
License: MIT License
The definitive edition of Microsoft Open Source Portals, supported by the experts in portals.
License: MIT License
There are several files producing a build warning. The code should be updated so these warnings do not occur anymore.
Line 1: 7>C:\xRM-Portals-Community-Edition\Framework\Adxstudio.Xrm\Web\Mvc\Liquid\EmbeddedResourceFileSystem.cs(17,7,17,30): warning CS0105: The using directive for 'Adxstudio.Xrm.Resources' appeared previously in this namespace
Line 2: 7>C:\xRM-Portals-Community-Edition\Framework\Adxstudio.Xrm\Web\UI\CmsEntityEditingMetadataProvider.cs(34,7,34,31): warning CS0105: The using directive for 'Adxstudio.Xrm.AspNet.Cms' appeared previously in this namespace
Line 3: 7>C:\xRM-Portals-Community-Edition\Framework\Adxstudio.Xrm\Web\UI\WebControls\CaseEntitlement.cs(22,7,22,30): warning CS0105: The using directive for 'Adxstudio.Xrm.Resources' appeared previously in this namespace
Line 4: 7>C:\xRM-Portals-Community-Edition\Framework\Adxstudio.Xrm\Activity\ActivityDataAdapter.cs(27,8,27,30): warning CS0105: The using directive for 'Adxstudio.Xrm.Services' appeared previously in this namespace
There are StyleCop.Cache
files that should be deleted since they are only used for development purposes and don't need to be committed, and *.[Cc]ache
files are ignored in .gitignore
.
There are file references to AppDynamics in the MasterPortal.csproj file that should be removed since the files for AppDynamics aren't included.
Found conflicts between different versions of the same dependent assembly. In Visual Studio, double-click this warning (or select it and press Enter) to fix the conflicts; otherwise, add the following binding redirects to the "runtime" node in the application configuration file:
Project: MasterPortal
There are some compilation warnings due to fields that are never assigned to. These should probably be deleted. Please provide some analysis prior to starting.
C:\xRM-Portals-Community-Edition\Framework\Adxstudio.Xrm\Web\UI\CrmEntityFormView\FormXmlCellMetadata.cs(94,43,94,62): warning CS0649: Field 'FormXmlCellMetadata._sharePointSettings' is never assigned to, and will always have its default value null
C:\xRM-Portals-Community-Edition\Framework\Adxstudio.Xrm\EntityList\EntityListPackageRepositoryDataAdapter.cs(1042,23,1042,34): warning CS0649: Field 'PackageConfigurationSerializationBinder._knownTypes' is never assigned to, and will always have its default value null
C:\xRM-Portals-Community-Edition\Framework\Adxstudio.Xrm\Web\UI\JsonConfiguration\ActionSerializationBinder.cs(19,23,19,34): warning CS0649: Field 'ActionSerializationBinder._knownTypes' is never assigned to, and will always have its default value null
An exception with the following stack trace occurs when using features that perform HTML sanitization and running the site in 32-bit mode:
An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
System.BadImageFormatException
at SafeHtml.SafeHtmSanitizer.NativeMethods.OshFGetSafeHTMLAllocForManaged2(Byte[] rgbSrc, Int32 cbSrc, Int32 cpSrc, Byte** rgbDst, Int32& cbDst, Int32 cpDst, Int32 grfosh)
at SafeHtml.SafeHtmSanitizer.BuildSafeHtml(String existingHtml, SafeHtmlFlags flags, String& newHtml) in C:\xRM-Portals-Community-Edition\Framework\SafeHtml\SafeHtmSanitizer.cs:line 162
at SafeHtml.SafeHtmSanitizer.GetSafeHtml(String currentHtml, SafeHtmlFlags flags, Boolean& wasBad) in C:\xRM-Portals-Community-Edition\Framework\SafeHtml\SafeHtmSanitizer.cs:line 127
at SafeHtml.SafeHtmSanitizer.GetSafeHtml(String currentHtml) in C:\\xRM-Portals-Community-Edition\Framework\SafeHtml\SafeHtmSanitizer.cs:line 113
...
There is a native dll included, osafehtml.dll, that is pinvoked for HTML sanitization, that is compiled in 64-bit mode and causes this exception when pinvoked in 32-bit processes.
The installation instructions do indirectly mention using the 64-bit configuration when publishing the site to an Azure web app. I've verified this error occurs with on-premise IIS hosting and in Azure.
Actions:
List 64-bit as a requirement in installation instructions
IIS
Azure Web App
Consider replacing HTML sanitization with a managed library, as already listed in the Update SafeHtml to use only managed code project.
There is a bug where uploading a file through the front-side editor results in a 404 when trying to view the file afterwards. The cause appears to be due to the uploaded file being missing on the note attachment on the created Web File
record.
Steps to reproduce:
Hi,
this might be a bug in the JavaScript of the standard form for Entity Form Metadata.
I have observerd the following:
There is a build warning of a missing Microsoft.ServiceBus
assembly when compiling the Microsoft.Xrm.Portal
project:
C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(1987,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "Microsoft.ServiceBus". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.
The Microsoft.ServiceBus
reference is shown as missing when viewing the project in Visual Studio.
The reference in Microsoft.Xrm.Portal.csproj
is to file that was not included as part of the files included in the open source release:
<Reference Include="Microsoft.ServiceBus">
<HintPath>..\..\DllImports\Microsoft.ServiceBus.dll</HintPath>
</Reference>
It is possible this reference isn't needed in this project anymore, but we'll need to be careful because there are other projects (Adxstudio.Xrm
and MasterPortal
) that do refer to this assembly through the WindowsAzure.ServiceBus
NuGet package as seen in their respective package.config
files:
<package id="WindowsAzure.ServiceBus" version="3.1.3" targetFramework="net45" />
There are a few sections of code that refer to service bus in the Microsoft.Xrm.Portal
project (e.g. search the project for 'servicebus') that will need to be analyzed to determine if this project indeed has a dependency on this assembly and whether it should be added back or can be removed.
To ensure search and cache are invalidated, do we just need to:
If so what URL(s) in (2)? Just http://HOSTNAME/WebNotification.axd ? Any changes to web.config required?
Also on search, should I be seeing the actual files in App_Data getting updated if this is working? I can see they are old and aren't changing as we add more data.
There are compilation warnings due to unused fields, these fields should be deleted so the warnings don't occur.
C:\xRM-Portals-Community-Edition\Framework\Adxstudio.Xrm\Diagnostics\Metrics\IfxMetricsReporter.cs(115,36,115,49): warning CS0169: The field 'IfxMetricsReporter._mdmNamespace' is never used
C:\xRM-Portals-Community-Edition\Framework\Adxstudio.Xrm\Diagnostics\Metrics\IfxMetricsReporter.cs(115,118,115,128): warning CS0169: The field 'IfxMetricsReporter._portalApp' is never used
C:\xRM-Portals-Community-Edition\Framework\Adxstudio.Xrm\Diagnostics\Metrics\IfxMetricsReporter.cs(115,88,115,92): warning CS0169: The field 'IfxMetricsReporter._org' is never used
C:\xRM-Portals-Community-Edition\Framework\Adxstudio.Xrm\Diagnostics\Metrics\IfxMetricsReporter.cs(115,19,115,34): warning CS0169: The field 'IfxMetricsReporter._mdmAccountName' is never used
C:\xRM-Portals-Community-Edition\Framework\Adxstudio.Xrm\Diagnostics\Metrics\IfxMetricsReporter.cs(115,66,115,71): warning CS0169: The field 'IfxMetricsReporter._role' is never used
C:\xRM-Portals-Community-Edition\Framework\Adxstudio.Xrm\Diagnostics\Metrics\IfxMetricsReporter.cs(115,107,115,116): warning CS0169: The field 'IfxMetricsReporter._portalId' is never used
C:\xRM-Portals-Community-Edition\Framework\Adxstudio.Xrm\Diagnostics\Metrics\IfxMetricsReporter.cs(115,57,115,64): warning CS0169: The field 'IfxMetricsReporter._tenant' is never used
C:\xRM-Portals-Community-Edition\Framework\Adxstudio.Xrm\Diagnostics\Metrics\IfxMetricsReporter.cs(115,94,115,105): warning CS0169: The field 'IfxMetricsReporter._portalType' is never used
C:\xRM-Portals-Community-Edition\Framework\Adxstudio.Xrm\Diagnostics\Metrics\IfxMetricsReporter.cs(115,142,115,156): warning CS0169: The field 'IfxMetricsReporter._portalVersion' is never used
C:\xRM-Portals-Community-Edition\Framework\Adxstudio.Xrm\Diagnostics\Metrics\IfxMetricsReporter.cs(116,17,116,38): warning CS0169: The field 'IfxMetricsReporter._initializationFailed' is never used
C:\xRM-Portals-Community-Edition\Framework\Adxstudio.Xrm\Diagnostics\Metrics\IfxMetricsReporter.cs(115,73,115,86): warning CS0169: The field 'IfxMetricsReporter._roleInstance' is never used
C:\xRM-Portals-Community-Edition\Framework\Adxstudio.Xrm\AspNet\Cms\HealthMiddleware.cs(25,25,25,29): warning CS0169: The field 'HealthMiddleware.info' is never used
C:\xRM-Portals-Community-Edition\Framework\Adxstudio.Xrm\Diagnostics\Metrics\IfxMetricsReporter.cs(115,130,115,140): warning CS0169: The field 'IfxMetricsReporter._portalUrl' is never used
C:\xRM-Portals-Community-Edition\Framework\Adxstudio.Xrm\Diagnostics\Metrics\IfxMetricsReporter.cs(115,51,115,55): warning CS0169: The field 'IfxMetricsReporter._geo' is never used
I'm getting the following error on the setup page:
The Organization Service URL is invalid. Metadata contains a reference that cannot be resolved: 'https://instancename.crm3.dynamics.com/XRMServices/2011/Organization.svc?wsdl&sdkversion=8.2'. The underlying connection was closed: An unexpected error occurred on a send. Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. An existing connection was forcibly closed by the remote host
As soon as I disable the use of SSL v3 the problem goes away.
I'll send a pull request for this.
.NET Framework versions below 4.6 don't use TLS 1.2 by default. Older versions of the TLS protocol (1.0/1.1) are subject to being disabled for security reasons, and we need to ensure compatibility with hosting providers that either don't support the older protocols now or won't be supporting them in the future.
Upgrade all the projects to target the newest .NET Framework available, which is currently .NET 4.7, to enable the default usage of TLS 1.2 when connecting to Dynamics 365.
The system requirements will change compared to the originally documented requirements provided by Microsoft, and this .NET Framework version requirement will need to be included in setup instructions.
Some NuGet packages were installed using a target framework different from the current target framework and may need to be reinstalled. Visit http://docs.nuget.org/docs/workflows/reinstalling-packages for more information. Packages affected: Microsoft.CrmSdk.CoreAssemblies
Project: MasterPortal
Few of classes missing in AdxStudio.XRM
like
Adxstudio.Xrm.OpenAuth.Configuration
Adxstudio.Xrm.IdentityModel.Web.Modules
how to get the adxstudio 7.x version
Hello Experts,
I have downloaded the source code and I am able to build the solution and hosted the Master Portal site in IIS. Link is working http://localhost/MasterPortal and when I am entering Organization details correctly and clicking on Check Connection button, I am geting "The entity with a name = 'adx_website' is not found in the MetadataCache." error.
Could anyone please help me how to fix this issue.
Thanks in advance
Kind Regards,
Surjeet Singh
Besides the 'Microsoft.ServiceBus' that's been reported in a previous issue I also get similar messages on the following components:
Projects: Adxstudio.Xrm and MasterPortal
Create Related Record item action for Entity List is not displayed when the list is rendered on web page using Liquid, i.e. {% include "entity_list" key: "My Entity List" %}.
The same action displays fine on the same list when that list is displayed via association with a web page.
How I can configurate the e-commerce portal? I tried to. Configurated with the documentation but I need to create some. Entities. Somebody help me
Got hundreds of the error SA1650 : CSharp.Documentation : The documentation text within the param tag contains incorrectly spelled words: xxx (e.g. url) across multiple files
When viewing a blog post with query strings in the URL, an unhandled exception is thrown:
The context can not load the related collection or reference for untracked entities while the 'MergeOption' is not set to 'NoTracking'. Change the 'MergeOption' to 'NoTracking' or attach the 'adx_blogpost' entity.
Line 760: var relatedEntity = entity.GetRelatedEntity<T>(relationship.SchemaName, relationship.PrimaryEntityRole);
Source File: C:\Source\Repos\xRM-Portals-Community-Edition\Framework\Microsoft.Xrm.Client\EntityExtensions.cs Line: 759
Is there caching of content used in search? It seems like it and I can't figure out how to get the cache to refresh - specifically I am keyword searching with words I know are in knowledge articles and getting only old results.
I have WebNotification.axd being called on entity change - does something else control the cache of search information? I notice that the files in App_Data\Adxstudio.Xrm.Search are old - are these cache files? Deleting them made the site unhappy....
Since December likely after a change from Microsoft, I am unable to get xRM Portals Community Edition to connect to a Dynmaics 365 CE Online CRM Instance.
I get the following error:
The Organization Service URL is invalid. Metadata contains a reference that cannot be resolved: 'https://researchportal.crm3.dynamics.com/XRMServices/2011/Organization.svc?wsdl&sdkversion=8.2'. The underlying connection was closed: An unexpected error occurred on a send. Authentication failed because the remote party has closed the transport stream
After some research I found these these links that hit to the problem:
https://blogs.msdn.microsoft.com/crm/2017/09/28/updates-coming-to-dynamics-365-customer-engagement-connection-security/
https://community.dynamics.com/crm/f/117/t/263162
It appears the MS is now requiring online servers to connect with a minimum of TLS 1.2.
I have a potential fix as recommended from a forum to set
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12 | SecurityProtocolType.Tls11;
I have a fix that works in my branch here: https://github.com/slautebach/xRM-Portals-Community-Edition/tree/fix-TLS-1.2 that I can submit as a PR for if it is appropriate.
i want to hide a lookup field or make it read only.
if i hide it through crm then data does not get submit nether for read only.
How can i make it read only using adx portal?
Please help . Sorry for asking here the adx forum are somehow not working
There are some compilation warnings due to obsolete code being referenced. These should be changed to use the recommended alternative approach. Each change will need to be tested to ensure the functionality continues to work. Please provide testing procedures for validating each change.
C:\xRM-Portals-Community-Edition\Framework\Adxstudio.Xrm\Search\CrmEntityIndexSearcher.cs(234,71,234,100): warning CS0618: 'ICrmEntityIndex.LanguageLocaleCode' is obsolete: 'Use the new Multi Language implementation instead'
C:\xRM-Portals-Community-Edition\Framework\Adxstudio.Xrm\Search\CrmEntityIndexSearcher.cs(237,86,237,115): warning CS0618: 'ICrmEntityIndex.LanguageLocaleCode' is obsolete: 'Use the new Multi Language implementation instead'
C:\xRM-Portals-Community-Edition\Framework\Adxstudio.Xrm\Web\UI\EntityList\OData\EntityListODataFeedDataAdapter.cs(380,5,380,42): warning CS0618: 'ODataHttpRequestMessageExtensions.SetNextPageLink(HttpRequestMessage, Uri)' is obsolete: 'This method is obsolete; use the ODataProperties().NextLink property from the System.Web.Http.OData.Extensions or System.Web.OData.Extensions namespace.'
C:\xRM-Portals-Community-Edition\Framework\Adxstudio.Xrm\Web\UI\EntityList\OData\EntityListODataFeedDataAdapter.cs(385,5,385,62): warning CS0618: 'ODataHttpRequestMessageExtensions.SetInlineCount(HttpRequestMessage, long)' is obsolete: 'This method is obsolete; use the ODataProperties().TotalCount property from the System.Web.Http.OData.Extensions or System.Web.OData.Extensions namespace.'
Hi, i have questions about manual cache invalidation, are javascript in this link (https://community.adxstudio.com/products/adxstudio-portals/documentation/developers-guide/cache/cache-invalidation-utility/) to do manual cache invalidation still works in this new portal? it doesn't seem to be worked. When i customize portal such as add web form, entity form, or assign web role to the contact does not automatically reflected on the website. I need to reset IIS every time i did customization.
I've attempted to configure Web Notifications to invalidate the xRM Portals cache using the previous Cache.axd Web Notification end point.
Doesn't seem to work any more!
However the portal doesn't seem to be "automagically" picking up changes/publishes in the same way that 365 Online Portals is now doing without Web Notifications. Is there a replacement, or other approach we need to take to invalidate particular caches in the new xRM Portal landascape?
Hi, can you please help me,
If i have development environment dynamics crm connected with this portal, and already did a bunch of customization (like entity forms, list etc), how do i move the customization to the production portal?
When I open the solution in VS 2017, I receive an error that .NET Framework 4.7 needs to be installed but it is already installed (and installed as part of VS 2017). So, I can't go any further.
If I select "Change the target to 4.6.1...", when I try to build the solution, or the Adxstudio.Xrm or Adxstudio.Xrm.Files projects, I receive the same error regarding the version of the .NET framework.
Any ideas how I can proceed? Please advise ASAP.
I downloaded and installed the portal into an Windows Server 2008 R2 and Windows 7 environment running IIS 7.5. I could not get portals to run, I kept receiving an HTTP 500.19 error, referencing an error with the web.config, but did not highlight any offending line number in the web.config. After trail and error I was able to determine that the offending web.config line was
<applicationInitialization doAppInitAfterRestart="true">
<add initializationPage="/" />
</applicationInitialization>
I then determined that this was because IIS 7.5 does not come with the Application Initialization module installed.
https://www.iis.net/downloads/microsoft/application-initialization
Once I installed the module, the portal application loaded correctly within IIS.
I would recommend updating the Readme.md to mention this as the original "Self-hosted Installation Guide" from Microsoft does not.
Hey there, I've got CafeX LiveAssist up and running smoothly for Live Chat and co-browse, both working smoothly with XRM Portals. I'm now trying to add the "Contact Pop" functionality (which opens the contact record if the User is logged into the Portal), and am following the instructions on this page: https://www.liveassistfor365.com/en/support/authenticated-visitors-in-the-dynamics-customer-portal/
When I get to the step where I need to retrieve the Public Key using the following instruction, I get a Key Not Found error. Makes sense I haven't done anything to provide a key, though one is configured/provided when using the Cloud-based Dynamics Portals.
To fetch the JWT Public Key, open a separate browser, and navigate to [Customer Portal Base URL]/_services/auth/publickey (e.g. https://cafex02.microsoftcrmportals.com/_services/auth/publickey).
Our portal is hosted as an Azure App Service Web App, and I was hoping to get some clarity on the steps to follow in order to get a Certificate in place and be able to use the Portal's authenticated user in CafeX. Googling has only resulted in scenarios where people are adding certificates in order to use a custom domain name, where we're looking at a different purpose.
There are some compilation warnings due to obsolete code being referenced. It isn't clear based on the warning what the recommended alternative implementation is. It's possible the code in question may not even be in use given the available schema and data. Please provide some analysis prior to making changes.
C:\xRM-Portals-Community-Edition\Framework\Adxstudio.Xrm\Web\Mvc\Liquid\EventOccurrencesDrop.cs(60,4,60,9): warning CS0612: 'EventOccurrencesDrop.Event' is obsolete
C:\xRM-Portals-Community-Edition\Framework\Adxstudio.Xrm\Web\Mvc\Liquid\EventDrop.cs(30,4,30,9): warning CS0612: 'EventDrop.Event' is obsolete
C:\xRM-Portals-Community-Edition\Framework\Adxstudio.Xrm\Web\Mvc\Liquid\EventDrop.cs(33,45,33,50): warning CS0612: 'EventDrop.Event' is obsolete
C:\xRM-Portals-Community-Edition\Framework\Adxstudio.Xrm\Web\Mvc\Liquid\EventDrop.cs(47,17,47,22): warning CS0612: 'EventDrop.Event' is obsolete
C:\xRM-Portals-Community-Edition\Framework\Adxstudio.Xrm\Web\Mvc\Liquid\EventDrop.cs(52,79,52,84): warning CS0612: 'EventDrop.Event' is obsolete
C:\xRM-Portals-Community-Edition\Framework\Adxstudio.Xrm\Web\Mvc\Html\LiquidExtensions.cs(178,20,178,30): warning CS0612: 'EventsDrop' is obsolete
Even though the Site Settings Authentication/Registration/AzureADLoginEnabled and Authentication/Registration/ExternalLoginEnabled are set to true, the SignIn form does not display the credential form controls under Sign in with an external account. (It works fine when using the Microsoft-hosted version).
Any ideas? BTW I apologize up front if this a simple config setting that I missed.
Setup the following elements:
When viewing an Organisation details, the URL is as follow:
/my-organisations/organisation/?id=475b158c-541c-e511-80d3-3863bb347ba8
The breadcrumb appears as: Home - My Organisations - Organisation Details. This is fine.
From this page, clicking Create on the Contacts sub-grid takes user to the New Organisation Contact page. The breadcrumb on this page appears as:
Home - My Organisations - Organisation Details - New Organisation Contact
The URL of the 2nd last node (Organisation Details) on the breadcrumb is /my-organisations/organisation/ - which is incorrect as it is missing the query string parameter. Clicking on this node results in a "The record you are looking for couldn't be found" error.
Reproduced on the MS Online CRM Portal (8.4.1.80).
Third party notices are disclosed in Third-Party Notice.docx
. This information being in a word document is not Git or GitHub friendly.
To address this concern, delete the file Third-Party Notice.docx
and create a new file THIRD-PARTY-NOTICES.md
with the same content and formatting using markdown.
There are some compilation warnings due to unreachable code.
The first one looks like it may be a bug, there is logic that probably should be executing but isn't due to an errant return statement. This one will require careful testing.
C:\xRM-Portals-Community-Edition\Framework\Adxstudio.Xrm\EntityForm\EntityFormFunctions.cs(258,8,258,13): warning CS0162: Unreachable code detected
The second one looks like there is extra code that should simply be deleted because it occurs after an exception is thrown.
C:\xRM-Portals-Community-Edition\Framework\Adxstudio.Xrm\ContentAccess\CategoryAccessProvider.cs(72,13,72,15): warning CS0162: Unreachable code detected
Warning CS0219 The variable 'createRelatedRecordActionLink' is assigned but its value is never used Adxstudio.Xrm
C:\xRM-Portals-Community-Edition\Framework\Adxstudio.Xrm\Web\Mvc\Html\EntityGridExtensions.cs 849
I'm in an environment where getting to newer versions of the .NET Framework isn't trivial. Currently 4.6.2 is deployed and we've done a test portal deployment. Despite the README saying 4.7 "must be installed", the portal seems to run correctly on 4.6.2. Can someone explain what won't work or where we will hit issues?
EDIT: I should add I'm connecting to 2016 (8.1) on-premise - I guess there would be issues if we were targeting Online in relation to TLS?
How do I configure the portal so the currently logged in Windows user is used for authentication? It seems to have changed a bit from ADX - didn't we select a System User in the Contact? I've tried tweaks to web.config to enable Windows authentication and disabled anon in IIS but with no joy.
Has anyone done this? Is it still possible with xRM Portals? I'd imagine this will be a reasonably common need so hopefully this discussion helps others in future.
Hi,
I am trying to use the built-in chart functionality using the Liquid Markup syntax:
General syntax:
{% chart id:"chart-guid-without-braces" viewid:"view-guid-without-braces" %}
Example:
{% chart id:"EB02E9AA-5580-E611-80D8-00155DFE75F9" viewid:"00000000-0000-0000-00AA-000010003002" %}
I made sure that my Portal User does have the required Entity Permissions for the entitiy of that chart.
Still, the chart will not show in the Portal.
On the Portal, only a loading message keeps circulatiing forever and no chart is shown.
Does someone maybe know if the extended Liquid Markup is not taken over to the Communty Edition and therefore is only available for the Online Portals?
Thank you and best regards.
There are some compilation warnings due to unused variables, these variables should be deleted so the warnings don't occur.
Line 8: 7>C:\xRM-Portals-Community-Edition\Framework\Adxstudio.Xrm\AspNet\Cms\ContextLanguageInfo.cs(1064,11,1064,16): warning CS0168: The variable 'query' is declared but never used
Line 15: 7>C:\xRM-Portals-Community-Edition\Framework\Adxstudio.Xrm\Cms\ContentMapProvider.cs(349,54,349,56): warning CS0168: The variable 'fe' is declared but never used
Line 48: 8>C:\xRM-Portals-Community-Edition\Samples\MasterPortal\Areas\Portal\Controllers\EntityActivityController.cs(123,22,123,23): warning CS0168: The variable 'e' is declared but never used
When you define web pages with localized content (two languages), and view the page in either language, each bread crumb displays the title of the root page, not the localized page title.
Configure a Date and Time
field with the behavior of Date Only
:
:
Set the field's value in the Dynamics 365 web client:
The Entity Lists's rendering of the field isn't following the expected behavior of displaying the value without a time zone conversion:
To consistently reproduce, set the local operating system's timezone to UTC-08:00:
The existing use of StyleCop Classic is proving difficult to setup consistently, and the rules being checked are not all appropriate for the state of the code.
Switch from StyleCop Classic to the newer recommended StyleCopAnalyzers and only put rules in place that are relevant and achievable.
There are some compilation warnings due to hiding of inherited members. Will need to determine for each one whether the child class's member should be deleted or hidden using the new keyword.
C:\xRM-Portals-Community-Edition\Framework\Adxstudio.Xrm\Activity\PortalComment.cs(32,39,32,54): warning CS0108: 'PortalComment.FileAttachments' hides inherited member 'Activity.FileAttachments'. Use the new keyword if hiding was intended.
C:\xRM-Portals-Community-Edition\Framework\Adxstudio.Xrm\Marketing\DataAdapterDependencies.cs(30,20,30,30): warning CS0108: 'DataAdapterDependencies.PortalName' hides inherited member 'DataAdapterDependencies.PortalName'. Use the new keyword if hiding was intended.
C:\xRM-Portals-Community-Edition\Framework\Adxstudio.Xrm\Web\Providers\ContentMapEntityUrlProvider.cs(442,34,442,53): warning CS0108: 'ContentMapEntityUrlProvider.JoinApplicationPath(string, string)' hides inherited member 'AdxEntityUrlProvider.JoinApplicationPath(string, string)'. Use the new keyword if hiding was intended.
Please provide some analysis on each one in this issue prior to making changes.
After publishing the code and deploying when i connect to crm i get an exception that
invalid id.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.