Quantcast
Channel: SharePoint 2013 - Using SharePoint Designer, InfoPath and Other Customizations forum
Viewing all 9368 articles
Browse latest View live

Update a list workflow to multiple subsites from SP Designer 2013

$
0
0

Hi,

I have successfully created a simple workflow on a list that logs a message: "message 1" in the workflow history list when an item is created in that list.

The workflow is saves as a wsp file in Sharepoint Designer 2013 and uploaded so it can be activated on multiple subsites in the sitecollection.

This Works great. However now I wish to change the logged message to "message 2". The procedure I try to fullfill in order to do this is (please correct me if I'm wrong):

1. Deactivate the feature on the subsites where it is running and deactivate it on the site Collection.

2. Uninstall the solution

3. Upload the new solution with the "message 2" logged message.

4. activate it the site Collection and in the subsites where it was previous added.

The feature is activated correctly in the site however the workflow running still says "message 1" in the history log!. What am I missing here?

I've then tried to activate the new workflow on another subsite (where it has not previously been activated) and here it display the correct log mesage "message 2".

Any ideas?

Thanks for your time


Permissions for Noteboard web part

$
0
0

I have included a note board web part to a document library in my SharePoint site. Now each user can make comments to each item separately. The issue is that I need these comments to be personal: each user should see only the comments that he/she made. I cannot find a way to change the permissions for this web part. Any ideas on how I could achieve this?

Any thoughts will be appreciated!!!

Document Transfer Workflow

$
0
0

Hi, I want to transfer the uploaded Documents from document library to one list item's attachment? 

can i achieve the same using the SharePoint designer WorkfloW?


Thanks, Parth

How to get User Profile Service information on user OTHER THAN current user?

$
0
0

So much information on how to autopopulate information for the current user or the logged in user in InfoPath.  But what about other users?  What if there's a field that's 99/100 times going to be the same person, but it's not the person that's logged in? 

I would like not just to autopopulate a person field to be a specific user (which is not the current user), but I'd also like to autopopulate surrounding fields for that user's Title and Department. 

For instance, consider the following 6 fields.

1. Current User Name:  
2. Current User Title:  
3. Current User Department:
4. Current User’s Supervisor’s Name:  
5. Current User’s Supervisor’s Title:  
6. Current User’s Supervisor’s Department:

I know how to get the first three; the internet is swarming with that information.

I'm struggling the last three; searching for this information is impossible without turning up information on current user instead.

The furthest I've gotten so far is to autopopulate Current User's Supervisor's Name by:

 1. Show Advanced View on Fields pane
 2. Expand my Field (which is really a group) called IT Manager Name
 3. Expand what shows up under that which is pc:Person
 4. Right click AccountId and choose Properties
 5. Set Default value to [our domain]\[IT Manager's ads username]

This solves how to get that 4th field my example list above Current User's Supervisor's Name to autopopulate, but how do I then get the Title and Department from the value I set in step 5 [our domain]\[IT Manager's ads username]?  Or is there a different/better way altogether to go about getting a non-current user's info to autopopulate in InfoPath form fields?


Cannot add web parts to web part zone via REST/SOAP - Api

$
0
0

Hello, I want to add several web parts (Content Editor and a couple List Web Parts) to a "project page" via REST-Api or SOAP.

My custom page layout has two web part zones.

I have already tried the two SOAP 1.2 Methods "AddWebPart" and "AddWebPartToZone" of the endpoint "/_vti_bin/webpartpages.asmx" without success as it always returns a HTTP 500 with the following non-descriptive Error: 

Exception of type 'Microsoft.SharePoint.SoapServer.SoapServerException' was thrown. 

with errorstring: An error has occurred.


Some more details on my http requests:

Here are the headers I used in my requests:

POST  mySP.sharepoint.com/sites/somesite/_vti_bin/webpartpages.asmx
Content-Type: application/soap+xml; charset=utf-8
X-RequestDigest: <theFormDigest>

Variables in the xml-body of the request:

pageurl: /sites/somesite/Pages/thepage.aspx 
storage: Shared
zoneId: Zone 2 (only for the AddWebPartToZone method of course)
zoneIndex: 1 (only for the AddWebPartToZone method of course)

I completely ran out of ideas and can't find any help. I appreciate any help! If you need more details, please tell me.

Sharepoint 2013 model dialog page content is not take responsive design.

$
0
0

Hi 

I am tried to apply responsive media query css in sharepoint model dialog content page, but it's not working in mobile responsive view.

if I am opening same page without dialog then its working fine.

see the form posted by me on community site 

http://community.office365.com/en-us/f/156/t/271101.aspx


Auto populating the Date/Time Field in a Column

$
0
0
I'm having an issue with the a Date and Time Column type auto populating the current date and time correctly.  I've put the =Now() function in the calculated value box.  I get the correct date and I get a time but the time is wrong,  its on Pacific Time and my regional settings on the site are Central Time.  I can't find any way to specify use central time.  is this a bug on microsoft's end or mine?  It was working yesterday and not today.

How to create attendance management on sharepoint

$
0
0
Hi,

I want to create company employee attendance sheet using SharePoint OOTB web part or List. Can any one please provide some good example or link which I can refer please.

Thanks

Insert Metadata Via Workflow

$
0
0

Hello community,

I am tasked with putting several hundred documents into a SharePoint 2013 library. Each of those documents is supposed to have its metadata. These metadata result from a reference number composed of several elements.

As not every employee knows which element goes with which metadata, and in order not to have to insert all those metadata manually every time a document is uploaded, I tried to create a workflow which would break the reference number down into its elements and insert the corresponding metadata.

I have already spent some time looking up the complete term of all our metadata (ID;#term|GUID). Using a condition, I have tried to insert metadata via SPD 2013 workflow for one element (via “update list item”). Extracting the elements from the reference number works fine. As soon as the workflow is supposed to insert metadata, however, it stops and shows the following error message:

An unhandled exception occurred during the execution of the workflow instance.Exception details: System.ArgumentNullException: Der Wert darf nicht NULL sein.Parametername: Input bei Microsoft.Activities.Expressions.IndexOfString.Execute(CodeActivityContext context) bei System.Activities.CodeActivity`1.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager) bei System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)

I have already tried to use -1 instead of the terms’ individual IDs, but that doesn’t work either. Our admin tells me that our MMD services are properly connected to our workflow services. I even tried creating a workflow using SPD 2010, but to no avail.

I don’t know what to do anymore. Any help is greatly appreciated!

Best regards,

Myrcella

Question about process for migrating InfoPath 2010 forms to SharePoint 2013

$
0
0

Can someone provide an overview about the steps involved for migrating forms that were designed with InfoPath 2010 and do not contain any code behind them, except for custom rules that serve to do data validation, in order for them to work properly within SharePoint 2013? I just read the following technical article that seems to partially apply to this:

http://blogs.perficient.com/microsoft/2013/03/infopath-and-sharepoint-2013-upgrading-your-forms/

If this is as straightforward as exporting the source files within InfoPath 2010 and then perhaps importing those within InfoPath 2013, I would appreciate getting confirmation about this.

SharePoint Designer 2013: Server-side activities have been updated

$
0
0

When developing custom activities for SharePoint 2013 Workflows, I ran into the problem that SharePoint Designer prompts “Server-side activities have been updated. Please restart SharePoint designer” every time when you try to create a new workflow.

Digital Signature DLL installed but IE does not show signature

$
0
0

I have set up a section to be digitally signed. works fine in preview mode.

When i published it does not work. it asked me to install the digital signature add on, but this is blocked and I cannot do so. I tried to find both the DSigCert and the other DLL within the _layouts/1033/ folder and tried to copy them locally and execute them via CMD but it did not work. Is there another way to install this addon? maybe from a microsoft site, where I can run as admin?


Custom Forms code get re-written randomly

$
0
0

Hi,
We use a custom form to open a list item. We did a copy of the site as a sub site, where we work on changes before we bring these changes back to the current version.

About once a week our source code in the sub site get all the outside file link reference re-written by some process which break the code and we have to manually change everything back.

For example these lines:
<link rel="stylesheet" href="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/themes/cupertino/jquery-ui.css" type="text/css" />
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>

Become this:
<link rel="stylesheet" href="//lasikmd.sharepoint.com///ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/themes/cupertino/jquery-ui.css" type="text/css" />
<script src="//lasikmd.sharepoint.com///ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>

Which is now invalid, can anyone tell me why this happen and more importantly, how do we prevent this from happening?

Thank you.
-Richard

Simple workflow won't start. Internal Status: Not Started

$
0
0

I created a simple work flow to send an email on the creation of an item in a list. 

But when I do this, it makes an instance but the status reads

Initiator:Anonymous   
 Started:10/3/2014 4:52 PM  Internal Status:Not Started
 Last run:10/3/2014 4:52 PM  Status: 
 

I can't get it to run. I have full access and I see no errors. 

Can anyone help?

Add a webpart to page via Sharepoint Workflow 2013

$
0
0

Hello everybody!

I am trying to add a webpart to a specific page using my Sharepoint 2013 Workflow. I can't make it work so far.

I am building the workflow with sharepoint designer 2013 and I am using Sharepoint Online 2013.

My thought was to use the "Call Http Service" Action with the SOAP Request "AddWebPartToZone" (from the endpoint: /_vti_bin/webpartpages.asmx).

However the "Call Http Service" does not allow me to add a raw body to the POST/PUT request. (which is where I have to put the SOAP envelope).

So my question is: How can I get this to work?
Is there another downloadable workflow action pack that supports SOAP calls?
OR is there a RESTful Http Service that can be used for adding a webpart to a page? 
(e.g. can the "addwebpart(webpart, zoneId, zoneIndex)" method of the limitedwebpartmanager be used in a Http Call?)

Thank you!



Workflow does not run properly- HTTPInternalServerError

$
0
0

Hi,

I had a workflow running earlier just fine- it uploads a document, checks it out to validate that the user has the proper permissions, edits a metadata column, then checks it in and approves it/ puts it in a different folder. Today however it suddenly is not doing this. Uploading a document gives the following message:

Retrying last request. Next attempt scheduled after 10/21/2014 10:28 AM. Details of last request: HTTP InternalServerError to<siteURL>/_api/web/lists(guid'3db1bac3-9008-4ae0-bc85-5b29721c1039')/Items(1125) Correlation Id: f8a5724e-e1ce-3f8e-b001-ad5d70008b7a Instance Id: 76c788a3-13c0-4e5d-bf43-dcf3251728fe 

Cannot handle the type 'Microsoft.SharePoint.Taxonomy.TaxonomyFieldValue'. 

It never cancels, the internal status permanently remains on started no matter how many times I retry.

This is O365 by the way. Does anybody have any idea what happened here?

EDIT: More details- this was done in SharePoint Designer's text workflow.




How to change a field to mandatory in custom list form in SharePoint designer 2010?

$
0
0
I need to create a custom form for a list, e.g. custom edit form. several fields are not mandatory by default, but in the custom edit form I need to make them mandatory. Is there a way to do that in SPD 2010?

Moving files to another library / archiving documents

$
0
0

Hello community,

I have a problem with a 2013-workflow in SharePoint Designer 2013. My task is to build a workflow that starts when a file is uploaded into a library (DocLib1). It is supposed to search DocLib1 and find out, whether there is already a file with mostly the same data of an earlier version than the file being uploaded. If such a document is found, it is to be moved to another library (DocLib2). The only mandatory field in DocLib2 is “name”. I have full access to both libraries.

A loop uses a condition to run a test for every document in DocLib1, whether the condition stated above is true, i.e. whether it should be moved. If yes, the actions “copy document” and “delete element” are used to move it. However, the workflow is stopped.

Log history tells me that the document that should be moved is found, so loop and condition are fine. When the workflow has found said document, it pauses at first and tries again in a minute, showing the following message:

HTTP BadRequest zu [my website]/getfilebyserverrelativeurl('[document that is to be moved]')/CopyTo([DocLib2]/[document that is to be moved]',%20bOverWrite='false') Korrelations-ID: 96f3c39c-fb2d-80ea-f058-e4a81ca3bbe8 Instanz-ID: d58ec612-4eff-48d2-aba9-2bc17a2afe47

(Sorry, my SharePoint is in German.)

Then, the workflow is fully stopped:

An unhandled exception occurred during the execution of the workflow instance.Exception details: System.ArgumentNullException: Der Wert darf nicht NULL sein.(Value must not be NULL.)

So I thought I’d go for another approach that is supposed to work when moving files into subfolders. Loop and condition remain as described above, and instead of copying and deleting the document, I update it, changing “path and name” to [URL of DocLib2]/[name of document that is to be moved]. This doesn’t work either.

Am I missing something obvious? Can somebody please help me? Any tips or solutions are appreciated!

Best regards,

Myrcella

System.InvalidOperationException: Operation failed with error : Error in 2013 Sharepoint Enterprise

$
0
0

I am facing the below error as soon run the workflow manager from SharePoint 2013. 

System.InvalidOperationException: Operation failed with error Microsoft.Workflow.Client.WorkflowEndpointNotFoundException: Unable to connect to the remote service at http://localhost:12291/SharePoint/default/a45de691-5a73-4b03-b662-880d0b9ae293. See InnerException for more details. Client ActivityId : 442f839c-734d-00ce-e34f-c1fc3b3ccbbf. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: 

Any help ?? 

Hiding SuiteBar while printing in Sharepoint 2013

$
0
0

Hi Everyone,

We have recently upgraded to SharePoint 2013 from SharePoint 2007. I'm trying to remove the Suite Bar from print versions of the pages. Per my research, this can be handled by adding custom CSS and handling the media attribute. Here's the CSS:

@mediaprint
{   
    div
#suiteBar {
        display
: none;
   
}
}

I've made copies of seattle.html (seattle_copy(1).html) file but no .master files were generated, so, I manually created .master copies, too. I'm not sure if they are talking to each other. As it's not advisable to edit .master file, where do I put the CSS code in .html file? It refers to div#suiteBar which I can't find in .html file.  Adding the CSS anyhow has no effect.

Now I'm totally stuck. Please suggest some solution.

Thanks & Regards,

Midhat Un Nisa

Viewing all 9368 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>