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

2013-workflow-action-send-email-not-working

$
0
0

Hi All,

I am receiving the error while trying to use email activity in shqarepoint 2013 sequential workflow

2013-workflow-action-send-email-not-working-workflow

Erorr is as follows

1) <?xml
version="1.0" encoding="utf-8"
?>
-<m:error xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">
<m:code>-1, Microsoft.SharePoint.Client.ResourceNotFoundException</m:code>
<m:message
xml:lang
="en-US">Cannot find resource for
the request sp.utilities.utility.
</m:message>
-<m:innererror>
<m:message>Cannot find resource for the request sp.utilities.utility.</m:message>
<m:type>Microsoft.SharePoint.Client.ResourceNotFoundException</m:type>
<m:stacktrace>at
Microsoft.SharePoint.Client.Rest.RestRequestProcessor.GetObjectFromPathRoot(Boolean
mainRequestPath, EdmParserNode node, Boolean resourceEndpoint,
MethodInformation& methodInfo) at
Microsoft.SharePoint.Client.Rest.RestRequestProcessor.GetObjectFromPath(Boolean
mainRequestPath, String path, String pathForErrorMessage) at
Microsoft.SharePoint.Client.Rest.RestRequestProcessor.Process() at
Microsoft.SharePoint.Client.Rest.RestRequestProcessor.ProcessRequest() at
Microsoft.SharePoint.Client.Rest.RestService.ProcessQuery(Stream inputStream,
IList`1 pendingDisposableContainer)
</m:stacktrace>
</m:innererror>
</m:error>

2)RequestorId: 323722be-251f-730e-0000-000000000000. Details: RequestorId: 323722be-251f-730e-0000-000000000000. Details: An unhandled exception occurred during the execution of the workflow instance. Exception details: System.ApplicationException: HTTP 500 {"Transfer-Encoding":["chunked"],"X-SharePointHealthScore":["1"],"SPClientServiceRequestDuration":["41"],"SPRequestGuid":["323722be-251f-730e-a884-8e62d3b307d1"],"request-id":["323722be-251f-730e-a884-8e62d3b307d1"],"X-FRAME-OPTIONS":["SAMEORIGIN"],"MicrosoftSharePointTeamServices":["15.0.0.4481"],"X-Content-Type-Options":["nosniff"],"X-MS-InvokeApp":["1; RequireReadOnly"],"Cache-Control":["max-age=0, private"],"Date":["Wed, 08 Oct 2014 19:10:21 GMT"],"Server":["Microsoft-IIS\/8.0"],"X-AspNet-Version":["4.0.30319"],"X-Powered-By":["ASP.NET"]} at Microsoft.Activities.Hosting.Runtime.Subroutine.SubroutineChild.Execute(CodeActivityContext context) at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager) at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)


Get user manager in workflow SharePoint Designer 2013 for SharePoint online list item

$
0
0

Hello,

I would like to create a workflow in SharePoint Designer 2013 for a list in a site on SharePoint online and one of the action would be to send an e-mail to the manager of the user that created an item in a list.

How can I get the manager of the user and then use it to send an e-mail?

Thanks!

Displaying field with space in internal name with XSLT

$
0
0

Hi

I'm using Content By Query WebPart which uses XSLT to display it's values.

On the list is placed field with iternal name: "Insurance_x0020_number"

In ".webpart" file I'm having:

        <property name="CommonViewFields" type="string">Title;Created;AssignedTo;Insurance_x0020_number;WorkflowName;DueDate</property>

        <property name="DataColumnRenames" type="string">Title;Created;AssignedTo;Insurance_x0020_number;WorkflowName;DueDate</property>

In XSLT I have:

 <xsl:value-of select="@Created" /> 

<xsl:value-of select="@Title" />

<xsl:value-of select="@DueDate" />

which works fine, and 

 <xsl:value-of select="@Insurance_x0020_number"/>

which is not displaying nothing.

I made test with other fields, and it looks like, if there is "_x0020_" in internal name, XSLT is not displaying it's values, where fileds with out it works just fine.

Is there a way to solve this riddle?

Event Viewer logs serveral errors a minute (Event ID 555) when SharePoint Developer 2013 workflow runs

$
0
0

Hello all,

A colleague and I have created a SharePoint Designer 2013 list workflow that runs whenever a document library item is updated.

When we check the workflow history for the document library items, the workflow completes successfully. However, it fills up the Event Log (under Applications and Services - Microsoft-Workflow - Operational) with several entries per minute.

 

Microsoft-Workflow Operational Errors

I've tried to track down the error myself and have worked with Microsoft Premier Support on it, but we can't figure out what could be happening. The error message is:

Error processing management request. Method: POST, RequestUri: <workflowmanager server:12291/NotificationManagement/$Notifications/?$expectedScopeRevision=0, Error: System.ArgumentException: An item with the same key has already been added.

   at Microsoft.Workflow.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)

   at Microsoft.Workflow.Gateway.HttpAsyncResult.End[TAsyncResult](IAsyncResult result)

   at Microsoft.Workflow.Gateway.PublishWorkflowEventAsyncResult.End(IAsyncResult result)

   at Microsoft.Workflow.Gateway.WorkflowServiceGateway.ExceptionFilter[T](Func`1 body)

   at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)

 Have any of you seen this error before? Any help is appreciated.

Thank you!

Kind regards,

Kevin

 


Regards, Kevin


Infopath Approval With Multiple Approvers

$
0
0

I am interested in having multiple people approve forms.  The user will select the approvers using a people picker (tied to our active directory.)  I would like to know if it is possible to have the form be approved my multiple people at the same time, instead of a daisy chain. 

There will be a maximum of 5 approvers, but may only have 1. 

Can someone get me pointed in the right direction please.

Help with GetUserProfileByName

$
0
0

When I run my form using getuserprofilebyname inside infopath designer, it functions properly (I have rules that have it populate current user, and have people pickers.  Both work great.) 
When I publish the form to SharePoint, I get the error "An error occurred while trying to connect to a Web service."  After clicking okay, the current user won't populate, yet the people pickers still function.

I have tried using a SOAP data connection and also tried using a udcx saved in the same site collection.  Both have the exact same issue.

What can I do to fix this?

Team Calendar

$
0
0

Hi,

I have a calendar where i have enabled the option as allow team mates to add to the calendar.

now when i add i can see my team mate's details but when i refresh all of them disappears...why?


Thanks, Parth

Adding items to a MultiLookup column on form

$
0
0

I have a lookup column that allows multiple selections (i.e. Slider Box).  I am trying to find a way to manipulate the contents of the left hand box (possible values) based on other criteria.  I am able to programmatically move items from the left box to the right (and vice versa) and also remove items from the left hand box.  But I can't figure out the syntax to simply add a new option in the left hand box.


Word wrap in text boxes are wrapping in the middle of words and not at spaces in I.E.

$
0
0

In lists where I'm using a custom infopath form word-wrapping is not happening just a spaces in IE. Textarea elements within my form are being assigned the style attribute "white-space:pre" and this causes IE to behave that way. In Firefox the lines are being wrapped sensibly at spaces.

Can this be changed anywhere in InfoPath or SharePoint? I can't believe everyone is experiencing this. This doesn't happen on rich text fields however - nor in a calculated field that is displaying the same text that my text area is.

Here's an example: 

How to loop through the List SharePoint 2013 Designer Workflow

$
0
0

Hi,

I need to loop through the List and match the title column to the value I have stored in a workflow variable.

How do I achieve this? or How can I loop through the List items?


Regards, Shreyas R S

Creating forms

$
0
0

Hi all,

I'm new to SharePoint in general. I tried to do some selfstudy in order to come up with the "best" way to create forms for a SharePoint 2013 on premises farm.
Microsoft encouraged us, begin this year, to use InfoPath 2013 untill they made a next generation form technology.
I have found some opportunities with Excell and access, does that mean the next generation is already there and I should use that? As you can see, I'm confused on that Microsoft wants me to do..
Does anyone have a clear idea on what Microsoft recommends right now?

I need this information to decide how I'm going create forms in a SharePoint 2013 on premises.
If you are not sure about Microsofts vision, but you have confidence in your solution to create forms, please share.

All help would be appreciated.

 

Help on This Workflow

$
0
0

Stage:Caller Information

               Set Variable: Prefix to DUR_C

               Set Variable: SPID to Current Item:ID

               Update item in Current Item

               Log New Complaint to the workflow history list

               Email Email address

               Log Contact Client to the workflow history list

Transition to stage

               Go to Contact Client

Stage:Contact Client

               Wait for Event: When an item is changed (Output to Variable: related item8 )

               Step: Email for Site Visit

                               If Current Item:Duraco_Status equals Site Visit Planned

                                               Email Email address

                                               Log Site Visit to the workflow history list

               Step: Email for To Be Replaced

                               If Current Item:Duraco_Status equals To be Replaced

                                               Email Email address

                                               Log Product Recuperation to the workflow history list

               Step: Email for To be Repaired At Factory

                               If Current Item:Duraco_Status equals To be Repaired at Factory

                                               Email Email address

                                               Log Product Recuperation to the workflow history list

               Step: Email for Product Brought at Factory

                               If Current Item:Duraco_Status equals Product Brought at Factory

                                               Email Email address

                                               Log Factory Repair to the workflow history list

Transition to stage

               If Current Item:Duraco_Status equals Site Visit Planned

                               Go to Site Visit

               Else

                               If Current Item:Duraco_Status equals To be Replaced

                               or Current Item:Duraco_Status equals To be Repaired at Factory

                                               Go to Product Recuperation

                               Else

                                               If Current Item:Duraco_Status equals Product Brought at Factory

                                                               Go to Factory Repair

                                               Else

                                                               If Current Item:Duraco_Status equals Resolved

                                                                               Go to Resolved

                                                               Else

                                                                               Go to Contact Client

Stage:Site Visit

               Wait for Event: When an item is changed (Output to Variable: related item1 )

               Step: Email To Be Repaired On Site

                               If Current Item:Duraco_Status equals To be Repaired on Site

                                               Email Email address

                                               Log Site Repair to the workflow history list

               Step: Email To Be Replaced

                               If Current Item:Duraco_Status equals To be Replaced

                                               Email Email address

                                               Log Product Recuperation to the workflow history list

               Step: Email To be Repaired at Factory

                               If Current Item:Duraco_Status equals To be Repaired at Factory

                                               Email Email address

                                               Log Product Recuperation to the workflow history list

Transition to stage

               If Current Item:Duraco_Status equals To be Repaired on Site

                               Go to Site Repair

               Else

                               If Current Item:Duraco_Status equals To be Replaced

                               or Current Item:Duraco_Status equals To be Repaired at Factory

                                               Go to Product Recuperation

                               Else

                                               If Current Item:Duraco_Status equals Resolved

                                                               Go to Resolved

                                               Else

                                                               Go to Site Visit

Stage:Site Repair

               Wait for Event: When an item is changed (Output to Variable: related item2 )

               Step: Email To be Replaced

                               If Current Item:Duraco_Status equals To be Replaced

                                               Email Email address

                                               Log Product Recuperation to the workflow history list

               Step: To be Repaired at Factory

                               If Current Item:Duraco_Status equals To be Repaired at Factory

                                               Email Email address

                                               Log Product Recuperation to the workflow history list

Transition to stage

               If Current Item:Duraco_Status equals To be Replaced

               or Current Item:Duraco_Status equals To be Repaired at Factory

                               Go to Product Recuperation

               Else

                               If Current Item:Duraco_Status equals Resolved

                                               Go to Resolved

                               Else

                                               Go to Site Repair

Stage:Product Recuperation

               Wait for Event: When an item is changed (Output to Variable: related item6 )

               Step: Email Store

                               If Current Item:Duraco_Status equals Go to Store

                                               Email Email address

                                               Log Go to Store to the workflow history list

Transition to stage

               If Current Item:Duraco_Status equals Go to Store

                               Go to Store

               Else

                               Go to Product Recuperation

Stage:Store

               Wait for Event: When an item is changed (Output to Variable: related item10 )

               Step: Email to be repaired at factory

                               If Current Item:Duraco_Status equals To be Repaired at Factory

                                               Email Email address

                                               Log Factory Repair to the workflow history list

               Step: Email To be replaced

                               If Current Item:Duraco_Status equals To be Replaced

                                               Email Email address

                                               Log Delivery to the workflow history list

Transition to stage

               If Current Item:Duraco_Status equals To be Repaired at Factory

                               Go to Factory Repair

               Else

                               If Current Item:Duraco_Status equals To be Replaced

                                               Go to Delivery

                               Else

                                               If Current Item:Duraco_Status equals Resolved

                                                               Go to Resolved

                                               Else

                                                               Go to Store

Stage:Factory Repair

               Wait for Event: When an item is changed (Output to Variable: related item7 )

               Step: Email Ready for Delivery

                               If Current Item:Duraco_Status equals Ready for Delivery

                                               Email Email address

                                               Log Delivery to the workflow history list

Transition to stage

               If Current Item:Duraco_Status equals Ready for Delivery

                               Go to Delivery

               Else

                               Go to Factory Repair

Stage:Delivery

               Wait for Event: When an item is changed (Output to Variable: related item9 )

Transition to stage

               If Current Item:Duraco_Status equals Resolved

                               Go to Resolved

               Else

                               Go to Delivery

Stage:Resolved

               Log Resolved to the workflow history list

Transition to stage

               Go to End of Workflow

[Urgent Please ]- Error When publing Workflow 2013 from SP Desinger

$
0
0

Dear All ,

I got this problem when I try to publish my custom workflow 2013 to SP site

can you help me please in this problem

below message for the error from SP Desinger :

System.ServiceModel.FaultException: The server was unable to process the request due to an internal error.  For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the <serviceDebug> configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework SDK documentation and inspect the server trace logs.

Server stack trace:
   at Sys

----------------------------------------------------------------------------------------------------------------------------------------------------------

And this  is  the Message from  Event View :

HTTP request with Uri 'http://localhost:12291/SharePoint/default/6bed933b-c662-4473-bf58-90bc742e9200/02e64fc0-ab2f-4d08-a04b-84e6e65f61db/' failed: System.Net.WebException: The remote server returned an error: (404) Not Found.
   at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
   at Microsoft.Workflow.Client.HttpGetResponseAsyncResult`1.OnGotResponse(IAsyncResult result)
   at Microsoft.Workflow.Common.AsyncResult.AsyncCompletionWrapperCallback(IAsyncResult result)

No design view in SharePoint Designer 2013

$
0
0

Who made the bright decision not to include the design view in SPD 2013?

That just wipes out most of the Power Users out there. 

Does someone have another option?

I can't believe that Microsoft would neglect so many SPD users who do not have a programming background.



Mel

Issue with SharePoint 2013 workflows.

$
0
0

Hi,

I have recently installed workflow manger 1.o on my single sharepoint server and tried to create a workflow using SharePoint designer  from another machine with some user who have admin access on sharepoint server. I am able to create the sharepoint 2013 workflow and publish it. No errors on the SharePoint designer UI. When I open the list from browser and check for the work flow ,sharepint 2013 workflows are not listed. I checked the event logs for workflow manager and found that there is an error while publishing(but not shown on SPDesigner2013), I have checked for solutions on the web and cross checked all my workflows manger settings, SharePoint services settings and everything seems good.

The error I am seeing in the event logs :

HTTP request with Uri 'http://sps01:12291/SharePoint/default/d5cf23f5-72b6-4841-bf9a-a69fa6fc535a/a1e85a4e-4446-4569-82ad-ee646d5f9d62/'

failed:
    System.Net.WebException: The remote server returned an error: (404) Not Found.
   at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
   at Microsoft.Workflow.Client.HttpGetResponseAsyncResult`1.OnGotResponse(IAsyncResult result)
   at Microsoft.Workflow.Common.AsyncResult.AsyncCompletionWrapperCallback(IAsyncResult result)

System.Net.WebException: The remote server returned an error: (404) Not Found. at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) at Microsoft.Workflow.Client.HttpGetResponseAsyncResult`1.OnGotResponse(IAsyncResult result) at Microsoft.Workflow.Common.AsyncResult.AsyncCompletionWrapperCallback(IAsyncResult result)

other warning message :

<EventData>
  <Data Name="scopeId">/SharePoint/default/d5cf23f5-72b6-4841-bf9a-a69fa6fc535a/a1e85a4e-4446-4569-82ad-ee646d5f9d62</Data>
  <Data Name="requestUri">http://sps01:12291/$Scope</Data>
  <Data Name="status">404</Data>
  <Data Name="error" />
  </EventData>

I have tried many solutions suggested for similar issues earlier  but no luck..if any one help with some solution I would like to try..........


Infopath 2013 SOAP Web Service Data Connection - Error: The file is not a valid XML file

$
0
0

Here are the steps to replicate the issue I’m having when adding lists.asmx or any other SharePoint web service in InfoPath 2013. This web service opens fine in the browser from my desktop. My account is a farm administrator and is added to the web application’s User Policy.  I can use these services just fine using Nintex 2013 Workflow.

  1. Open InfoPath Designer 2013.
  2. Select Blank Form and click Design Form button.
  3. Click “Data” tab.
  4. Click “From Web Service” and select “From SOAP Web Service”

  1. Enter https://mysiteurl.com/_vti_bin/lists.asmx?WSDL for the web service definition.
  2. Click Next.
  3. Windows Security window pops up.
  4. Enter a credential. I tried both my account and the farm account. My account is a farm admin and is added to the web application’s User Policy with Full Control.
  5. Click OK. It prompts for credential multiple times.
  6. I get below this error messages: 

Sorry, we couldn't open https://mysiteurl.com/_vti_bin/lists.asmx?WSDL
InfoPath cannot find or cannot access the specified Web Service description.
The file is not a valid XML file.
Not enough storage is available to process this command.

We have a project that is in need of these services using InfoPath so any help is greatly appreciated.

create private folder for each user

$
0
0
Hi guys,

I'm want to create a public BI portal for our BI users. And I want each user to have it's own private folder
where he can publish his own generated reports. And this private folder will be the only private item on the
portal. Have I to use mysite to configure this stuff?

External List from SOAP to access another Site Collection List?

$
0
0

Hello,

is it possible to create External List from External Content Type to access Lists from different Site Collections? I am able to create Data Source. I tried to create External Data Type from that Data Source, but there are only WCF Services, not SOAP. I would like to use standard SOAP /_vti_bin/lists.asmx

I am looking for an adequate to SQL Database External Content Type for duplex update.

Thanks,

Radek

Crawling Module - Throwing Correlation Errors

$
0
0

SharePoint 2010 (Single App Server/Single DB Server).

The Search feature in our environment is not working. In review of the Search Service App I found that the Index Partition - 0 is in a "Not Responding" mode. (attached image)

When I click on ANY of the links under the Crawling section in the left panel I get correlation errors that (at least too me) do not point to anything (attached image of errors)

I have read that the Search Service has replaced Search Service Foundation. Thusly I killed the Fouondation Search (as suggested) in Services as well as in Central Administration. I then ran an iisreset and this did noting - I still cannot access anything under Crawling. I a

l also tried to stop the search with the following commands - which did not work either.

stsadm -o osearch -action stop

Seems there is no way to stop the current Crawl without bouncing the Server.

Any suggestions?

Using 2 Master Pages to Create Pages

$
0
0

Hi All,

I have 2 SharePoint Master pages. Both them were customarily build.

  1. Normal Master
  2. CEO Master

Now I want to create 2 publishing pages using each Master Page. So how can I able to do that?

Thanks and regards,

Chiranthaka

Viewing all 9368 articles
Browse latest View live


Latest Images

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