Tag Info

Hot answers tagged

4

Would this not work? Using the fact that Layouts is shared through the fram targetUrl = '/_layouts/MyProject/AppPage.aspx' + "?Location=" + window.location.href; or you could try: targetUrl = SP.Utilities.Utility.getLayoutsPageUrl('MyProject/AppPage.aspx' + "?Location=" + window.location.href)


3

Follow the below steps to move workflow into production environment site, In the Development environment open the SharePoint Designer and export the workflow you want using “Export to Visio”. Rename the vwi files by adding ".zip" extension, now open the zip file and remove the "workflow.xoml.wfconfig.xml" because it contains the details about the ...


2

The workaround is as follows: Open up your SharePoint 2012 solution in Visual Studio 2012/2013 In the Solution Explorer (use View -> Solution Explorer if you don't see it) expand your solution and browse to the Package within your project Double click on the Package.package entry to open up the package editor Click on the Advanced Tab The Additional ...


2

To your very last question, how to package and deploy solutions of JS files. I would recommend Sandbox solutions. The site collection owner would be able to upload your solution and the solution could deploy the .js and other files to the server. You can update these with a new/updated solution as needed. Be aware that there are some statements about ...


2

There is a more fail-safe approach than what @lwbecker2 suggests Get-SPSolution | ? { $_.JobExists } | % { Write-Host "Deployment job is currently running" } This has the benefit of not having a race condition. If you only look for the timer job, it may be that a deployment has already been initiated, but a timer job was not yet created when you check for ...


2

John, In the question you are discussing two different things, one is the SCHEMA i.e. Lists, Content Types, Document Libraries etc., the second thing is CONTENT. SCHEMA Yes you can develop everything using Visual Studio, you can create your custom templates (just like Team Site template, Publishing Site Template etc.).. and implement a class that inherits ...


2

That's a very broad question. data = content like List Items or Documents definitions = content types, site columns, spwebs, spsites, sptimerjobs, workflows when I say "Add" I don't mean you can't change or delete stuff. I'm not sure this list is conclusive or correct, but of the top of my head: SharePoint Hive Farm Solutions Layouts folder ...


2

Sample.txt file is added on its own when a Module is added to the project. Normally, it is renames to whatever you want to add to module. Both the files will get deployed to the site and hence content Database as is clear from the Url.


2

Make sure that your feature (in the VS solution) has all the web parts in it.


2

Go to the visual studio feature file and check whether you have all the webparts you needed in the feature. Else add them by selecting and send from left to right.


2

After hours of trial and error I noticed that Fiddler was running on the server which is quite common when debugging workflows. When I closed Fiddler I was able to deploy WSP successfully. I was able to recreate this issue multiple times. For more details: http://slavensemper.blogspot.com/2014/08/error-occurred-in-deployment-step.html So, close Fiddler ...


1

I have worked with the promoted links webpart and the tile view myself, but don't have example code here with me. What you will have to do may very well be possible by css (actually, try that first!) but from experience I know the tile view is very very rigid. What you want to do is just move the text with CSS. Use some developer toolbar to see the ...


1

Did a complete re-installation with the following power shell script to Configure the App Domain: net start spadminv4 net start sptimerv4 Set-SPAppDomain "<app domain name>" Get-SPServiceInstance | where{$_.GetType().Name -eq "AppManagementServiceInstance" -or $_.GetType().Name -eq "SPSubscriptionSettingsServiceInstance"} | Start-SPServiceInstance ...


1

The first thing that comes to mind is the URL of your site. It appears everything that you've done is correct as far as the project setup and deployment. The URL of your site needs to be a valid site collection, not just the server name, otherwise SharePoint won't handle the virtual path properly. So instead of: ...


1

I am not sure about the script why it is throwing the error, I would rather recommend you to post his Blog may be he will give you answer why it is failing. Did you check these commands from Gary. http://www.falchionconsulting.com/PowerShellViewer/Default.aspx I would also recommend you to use the 3rd party tools which have the atleaset 14 days trail. If ...


1

If you created the Site template before the Applying the English Language pack then it should be a problem. Because when you save the site as template it bundle everything which is part of sites and at that time English was not present so no reference for English.I am sure you getting some mismatch error. easy test is create a new template and try it


1

Bin directory A partial trust location. By default, code that runs from this directory has a low level of code access security (CAS) permissions. Administrator must explicitly raise permissions granted to a Web Part so it can function properly. Because of this level of control and defense-in-depth, administrators tend to prefer that ...


1

1) creating web application is full of clicking, being a sharepoint developer somtimes well for me most of the time incorporates sharepoint administration to it. You would use central admin to create web application and then site collection, or use powershell. web application central admin -> application managment -> click on manage web applications -> ...


1

as user19952 noted, run powershell as admin. Problem: Your running an admin level task, the user DEVRSG\svcwss your user doesn't have the sufficient levels to run the dll for Microsoft.SharePoint.Administration. solution: click start -> click all programmes -> click Microsoft sharepoint 2013 products -> right click sharepoint 2013 management shell -> ...


1

A bit of detail. Performs a synchronization of the Windows SharePoint Services Solution Package (WSP) solutions stored in the configuration database with the files stored on disk. The .wsp files will be synchronized in the order in which they were submitted to the server. Reference This is same as Syncsolution in SP 2007. So bottom line, Synchronization ...


1

If you install Microsoft Search Server Express it will provide all the necessary assemblies required to deploy BDC models to SharePoint. I tried and tested this solution.


1

There are 4 files you have to copy to ISAPI folder and 2 dll register to the GAC. In order to cross off this problem, some files of SharePoint Server 2010 need to be copied, which can be found in the directory 14\ISAPI: microsoft.office.sharepoint.clientextensions.dll Microsoft.Office.Sharepoint.ClientExtensions.xml Microsoft.Office.Server.dll ...


1

Right click on the solution and select Package. This will build a WSP in either your debug or release folder. Copy this WSP to a web front end and use Powershell to add it to the solutions and then install it. Add-SPSolution c:\yourproject.wsp Install-SPSolution –Identity yourproject.wsp –WebApplication http://sp2010 -GACDeployment Or use the add ...


1

The feature activated event will not fire again as it is already activated. However, the webpart will get updated because new dll, control templates and other components get deployed properly.


1

The feature will also need to be activated in order for web part to show up. The next time you deploy a WSP, the feature will remain activated/deactivated depending on its state. That is, if the feature is activated and you deploy the WSP again, you won't need to activate the feature. However, if it is deactivated, it need to be activated again.


1

As is evident from the first error there is an issue with finding assembly information. This may mean you may have changed namespace, class name etc. Normally AlwaysForceInstall = true should take care of the feature which is not uninstalled. Value TRUE specifies that the Feature is installed by force during installation even if the Feature is already ...


1

The Event Receivers can only be Scope at Site or Web. http://msdn.microsoft.com/en-us/library/office/ms431081(v=office.14).aspx I believe you would need to use a Feature Stapler. For existing sites, you will need to activate the feature manually, either using the UI, or powershell loop that activates the feature everywhere. Then you need a feature ...


1

What do you want your 'app' to do? Sounds like, for your scenario, Apps aren't the best choice. Think of Apps as single units of functionality that work in their own subsite away from the rest of your site (as that's pretty much what they are).


1

If I understood you right, you are trying to activate feature on deployment, there is something new in VS2012 named as Packaging Explorer. Open Packaging Explorer and select the feature you want to access properties of, then press F4 on keyboard, it will show you all possible properties of the feature, as shown in picture below,


1

The short answer: Don't add php files to SharePoint. SharePoint is a platform on its on (based on .net and ASP.net) and hence if you want to migrate your intranet from php to SharePoint you would have to start from scratch



Only top voted, non community-wiki answers of a minimum length are eligible