I'm struggling to find location of SharePoint components installed on server.
In my case I'm interested in SharePoint List component for MS Dynamics CRM. The URL clearly says it should be following file and folder .../crmgrid/crmgridpage.aspx..., but on server there is no such items.
Where SharePoint components is hidden?
I would appreciate any clue! Thank you in advance!
Static SharePoint pages are stored in the Layouts folder in the SharePoint hive, typically Program Files\Common files\Microsoft Shared\Web Server Extensions\14 for SharePoint 2010.
Any customized pages are not stored on the web server, but rather in the underlying SQL content databases. If the web pages are represented as files contained within document libraries in SharePoint, you can access them via the UNC path to the libraries (such as \\site.com\site\subsite\library\myfile.aspx).
They can also be accessed via SharePoint's REST API and SharePoint's more traditional web services.
Note: you are not permitted to query the underlying SharePoint database directly or your environment will cease to be supported (and the underlying database has a really bizarre schema anyway).
Related
I am developing my first simple app in Dynamics 365, and one of my main pieces is a Web Resource that involves a lot of tweak-save-test-repeat workflow. Up to this point, every time I have made a tiny change to my web resource, I have been deploying it by opening the solution customization settings, navigating to my particular Web Resource, opening it, clicking "Text Editor" button, pasting in my updated Javascript code, and saving/publishing the changes.
This process is tedious, and I would like to find a way to automate it. I have been researching Dynamics 365 deployment tools, and I have found the CRM Package Deployer tool, but from what I can find it requires me to set up an entire deployment package (a giant XML file) comprising my entire customization, rather than the single file I am currently working on. Is there some way to automate deploying a SINGLE FILE with these (or other) tools? Or is it possible to deploy a package with ONLY A SINGLE FILE rather than re-deploying the entire solution's package each time I just change the one file?
Check out the open source alternative to the SDK's developer toolkit called Dynamics CRM & 365 Developer Extensions which you can install right into VS. It makes deployment of web resources a snap. Basically, you map individual JS/Html/Css/etc files to their corresponding web resources in CRM, and then once they are mapped all you have to do to deploy is right-click and choose Publish to CRM.
That tool is great, but if you really want to speed up your web resource development, you should use Fiddler. In Fiddler, turn on Autoresponder and setup a mapping for the file you are working on. When Fiddler sees a request that matches a mapping, it doesn't send the request to the server and instead returns the file from your hard drive. This technique offers a dramatic speed improvements for developing web resources. There's also a free tool for Fiddler called Imposter that makes the process easier. Search the web for "dynamics crm fiddler web resources" to read about this technique.
Another tool is the Web Resource Manager in the XrmToolBox It's free, a part of the XrmToolBox, and even handles pushing .map and .ts files you're doing TypeScript. It will warn you if someone else has updated the file since you have, and allows you to push, publish, or even add the files to a particular solution.
Another lightweight Visual Studio Add-in, which allows for deploying single (or multiple) web resource file to CRM without leaving Visual Studio is
Microsoft Dynamics CRM Web Resources Updater:
https://marketplace.visualstudio.com/items?itemName=MaratVDeykun.MicrosoftDynamicsCRMWebResourcesUpdater
There is also a commercial solution called XrmToolkit which can be set to automatically publish to CRM when you save the web resource file in Visual Studio:
https://www.xrmtoolkit.com/
How do I modify Adxstudio online's aspx file?
For example, Case Page Template is linked to an aspx file at ~/Areas/HelpDesk/Pages/Case.aspx. How do I modify that Case.aspx file? I've looked around in both CRM and Adxstudio portal site but still cannot find any aspx file.
I'm using Adxstudio online trial, version 7 and CRM Online 2016.
If you are working in an online trial of Adxstudio I suspect you won't have access to the server side code files.
If you want to edit the server side code you should download the SDK, that has all the aspx files in. You can then self host the portal, whilst having full access to the aspx files in something like Visual Studio.
Is this Adxstudio Cloud Service?
https://www.adxstudio.com/adxstudio-portals/features/cloud-hosted-saas/
If so, the answer is you cannot. For the cloud offering, you get what they give you out of the box.
If you are using the on-premise or 'standard' version - you download the SDK which contains a sample/starter project. Open that, configure the connection string and then you can edit the ASPXs (Page Templates) in the Pages folder.
We have the same error on both our Team Web Access AND our SharePoint project portals from our TFS2010 server.
Access through Visual Studio appears to be fine.
However, anywhere a list of work items should appear in either web environment we are instead seeing
Method not found: 'Microsoft.TeamFoundation.WorkItemTracking.Client.DataStore.ScopedFieldDefinitionsClass Microsoft.TeamFoundation.WorkItemTracking.Client.DataStore.NodeClass.get_GlobalFieldDefinitions()'.
We are unable to create items in either web portal as well.
We have tried clearing caches on the TFS and clients then restarting TFS to no avail.
Any suggestions greatly appreciated.
This definitely seems like a cache issue unless you updated TFS recently. Web Access and SharePoint web parts have different cache locations.
You can find the correct cache path by looking at web.config appSettings value with key "WorkItemTrackingCacheRoot" or something like that. Please make sure you blow away the correct cache.
We have an Azure website and database that was published by a 3rd party. Is there a way to pull this down into Visual Studio and Team Foundation Server as a project?
I know you can publish existing projects to Azure via Visual Studio, but this site and database currently only exist in Azure.
You can move the database by exporting it through the portal, downloading the bacpac blob and restoring it to a local SQL server.
The content of the website could also be recovered using a backup of the website (currently in preview). This should work well for all static content and scripting languages (e.g. PHP) but you will have a hard time if the original solution contained multiple projects and compiled code (attempting disassembling the code and rebuilding the solution would only be feasible in a worst case disaster recovery situation).
If there is any chance to receive the code and project meta-information through the 3rd party it is the preferred solution for all non-trivial websites.
I am developing new SiteTemplate project in VS 2010. I didn't change anything, and I clicked Deploy to check if it is working on my SP server. And it doesn't ...
Why isn't it working? Plz, help.
I'm developing on Client system (Windows 7) - i have installed autonomous instance of Sharepoint. I haven't changed anything in SP central admin, i also checked folders in C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\SiteTemplates and files deployed successfully...
Any suggestions for solving problem will be really appreciated.
There are three properties that control a site template's visibility:
IsHidden that controls the visibility of the site template in the UI;
IsRootWebOnly that determines if the site template is available for site collection root web site only;
IsSubWebOnly that determines if the web template is available for sub-web sites only.
Mostly likely the problem is due to improper setting of one of these properties.