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

Workflow using CurrentItem:SharedWith

$
0
0

Hey,

I am trying to build a workflow to perform an action (Send Email) to members that the item is currently shared with. eg.

Take a look here.  I am just first trying to write the results to my log history.

And here is the results after the workflow runs.

As you can see, for each returned is blank/null.

I understand my first place to start is to find out what data type the "SharedWith" object is, however I cannot find it in Site Columns anywhere, so I don't know how this object is created.

Does anyone know how to access the names/email addresses of members that a document is shared with?


How to open Visio Webpart hyperlink in same Webpart

$
0
0
How can I open Visio Webpart hyperlink in same Webpart-window in SharePoint 2013?

By default when you click on the hyperlink in Visio Webpart, the page will open in a new window. But in my case I wanted to open that in the same window.

I set the Hyperlink.NewWindow property as FALSE in Visio, but it doesn't matter. It still opens in New tab.

I tried to make one hyperlink to another Visio page (in the same Visio file) by selecting sub-address, and this opens in the same window. If I make the hyperlink by paste the url to the SharePoint page in the Address Field, it opens in a New tab.


How to Submit an InfoPath Form to an SQL Server Database

$
0
0

Hello,

I have an InfoPath form which I would like to submit to an SQL Server Database. I want the whole form to be stored as an xml document in the database and not the form's contents. I know this can be done using a web service and/or programming, but don't know how. If anyone can guide me through the process, I would really appreciate it.

Regards,

Seif


Infopath Sharepoint WebForm multiple attachments or Picture from local machine

$
0
0

Hi, 

Here is the situation I have.

I have a personal update record form, and users must be able to upload their DrivingLicence, Certificate of qualifications, etc.

Can I have multiple attachment controls?

If not, can a picture control be able to pickup a picture from the local drive (not url) and upload it to my form?

Thanks for the help in advance.

Regards


MearTech

The Form template is not currently browser enabled.

$
0
0

Hello,

When I try to edit an infopath using the bowser option:

I always get this error:

I have been reviewing in central administration - General Application Settings - Configure InfoPath Forms Services and all is correct, I have marked these options:

Allow users to browser-enable form templates

Render form templates that are browser-enabled by users

I don't know if I have to do something else..

Any Help will be appreciated.

Thank you in advance.

Filter on a document library with CAML

$
0
0

Hello,

I am trying to create a filter on a document library with CAML. The document library has 1 column on which the filter should be applied. This column contains the SharePoint groups which should have access to that specific document. (Administration, planning, management etc..)

I found several articles with information to change the CAML in a view with SharePoint Designer and create my custom filter with "CurrentUserGroups". However none of my filters seem to work. Everytime the following messages shows when i make a change in the view:

"One or more field types is not installed correctly. Go to the settings page and remove these fields"

I think it should be fairly easily, but my filters simply doesnt work. One of the filters i created for example:


<Query><Where><Or><contains><Membership Type="UserCurrentGroups"/><FieldRef Name="Uitgifte_x0020_aan"/></Membership></Or></Where></Query>

(The field where the filter should apply on, is called: "Uitgifte aan")

Any help with this matter is appreciated!

Vincent


InfoPath 2013, Office365/SharePoint 2013 Online: How To Query People Picker

$
0
0

Hi,<o:p></o:p>

How does one query a people picker field from InfoPath 2013 for a list in SharePoint 2013 Online to match the current user? It seems the PeoplePicker has three fields by looking at the Data field. 

The relevant information is stored in AccountId. But the Query field only has the top level field.

My PeoplePicker field is named 'Assigned To'. I need to select records where 'Assigned To' equals the current user. Because an InfoPath query does not have a contain option, I am not able to search for records where the 'Assigned To' field contains userName(), and the query where 'Assigned To' equals userName() does not work.

Thanks!

sharepoint 2013 designer workflow HTTP Unauthorized to https://oursite/_vti_bin/client.svc/sp.utilities.utility.SendEmail

$
0
0

sharepoint 2013 designer workflow we are getting

HTTP Unauthorized to https://oursite/_vti_bin/client.svc/sp.utilities.utility.SendEmail

when we assign a task to a group. We did below step-

Go to your group settings page and see if the option visible to everyone is selected or not. if it is not selected make it visible to everyone. so that the email sending account can see all the users in the group

But its still not working for us. 


MCTS Sharepoint 2010, MCAD dotnet, MCPDEA, SharePoint Lead


SharePoint Secondary Data Source in InfoPath Form Not Honoring Sort

$
0
0

I have a very simple form that is being displayed on a SharePoint Online site.  It has just one secondary data connection to a SharePoint list and this secondary data connection is set to sort descending by date.  Here is how it works:

1.  On Form load I have it set to first set the query value of the Status field to approved, so that only approved results will be queried, and then I have it set to query the secondary data connection which populates a repeating table.

2. Then using a rule on the repeating table, I'm limiting the results to 6 rows using these formatting rules:

count(preceding-sibling::d:SharePointListItem_RW) + 1 <= count(/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW) - 6

AND

count(/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW) > 6

Now, with all of the above set, the form displays just 6 rows of approved items, however the 6 displayed are not the last 6 that were created (sorted by date).

If I remove #2 (formatting rules) then all approved items displayed (no longer limited to 6 rows) and they are in the correct sort order (sorted by date created).

The issue is that I really need to limit the form to display only 6 rows and they must the last 6 items created.

Any help would be appreciated.  Thanks!

Calendar Overlays not appearing on home page

$
0
0

I can add overlays okay.

they appear if I click on the calendar title and it opens in its own page but they don't show on the home page.

Sorry, I'm not explaining that very well.

The overlays just don't show up when I'm viewing the calendar on the home page but they do show if I click on the calendar title and just view it by itself without the rest of the home page.

Geolocation and Designer Forms

$
0
0

Our environment is using a farm-level Bing maps API key for the geolocation field. It works well when using the default display form, but we would like to use a custom designer form if possible. Once the default form is set to the custom display form, the geolocation field only displays the point values (latitude and longitude).

Is there a way to use SharePoint's built in functionality/scripts to render the map in a custom display form, similar to the default display?

SharePoint Designer 2013 Workflow, HTTP 500 The remote server returned an error while publishing SPD workflow.

$
0
0

Hi All,

A user reported an issue where a SharePoint Designer 2013 has been deployed to SharePoint server.    And when custom workflow’s Internal status is SUSPENDED and have the follows status: Requestorid: <<GUID>> Details: An unhandled exception occurred during the execution of the workflow instance. Exception Details: System.ApplicationException: HTTP 500 The remote server returned an error: (500) Internal Server Error.

We looked in Fiddler logs and we received a couple of HTTP/1.1 401 Unauthorized within Response Headers.

To reproduce the issue, we created a simple Site Workflow reproduce the issue and used a SPD 2013. While publishing the workflow we got an error:

Errors were found when compiling the workflow. The workflow files were saved but cannot be run.System.ServiceModel.ProtocolException: The content type text/html; charset=utf-8 of the response message does not match the content type of the binding (application/soap+xml; charset=utf-8). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first 1024 bytes of the response were: '<!DOCTYPE html>

<html>

  <head>

<title>Runtime Error</title> <meta name="viewport" content="width=device-width" /> <style> 


We could NOT find any ULS logs from web servers whatsoever. Followed the troubleshooting steps http://blogs.msdn.com/b/laleh/archive/2014/09/03/sharepoint-2013-workflow-troublehsooting.aspx

  1.       We checked the Workflow status health
    get-WFfarm
    get-WFfarmStatus and Service Status is Running for WorkflowServiceBackend and WorkflowServiceFrontend.
  1.       In Application server, Workflow Proxy shows Workflow is connected.
  2.       All the workflow services are running.
  3.       UPS, App Management services and in Platform type shows SharePoint 2013 workflow.

We found that another user similar (not exact) with the HTTP 500 The remote server returned an error: (500) Internal Server Error.
https://social.technet.microsoft.com/Forums/office/en-US/2575c032-840a-440b-8c60-84457648f007/sp-designer-2013-workflow-internal-server-error-when-publishing?forum=sharepointcustomization

However, in the Application Server, he received an error in Event Viewer (under Applications and Services Log\Microsoft-Workflow\Operational)) butwe did not receive any error event viewer. In the SQL Databases, there are couple of Workflow databases.

In SQL Databases we have following databases has permission on Workflow service account (shptWFSvc)WFManagementDB  >> shptWFSvc WFInstanceManagementDB>> shptWFSvc
WFResourceManagementDB >> shptWFSvc

In Security,  Server Roles shptWFSvc role is Public and notSysAdmin as described here: https://technet.microsoft.com/en-us/library/jj193451.aspx?f=255&MSPPError=-2147217396  (The user must haveSysAdmin privilege on this SQL Server instance, otherwise, the databases should be pre-created and the Sql logon for the RunAs Account User should be created manually, before running the configuration, on all Sql instances.)

Q: Should be assign SysAdmin role for shptWFSvc ?Q: How can we fix this issue??
Any pointers would be helpful.
Thank you.


Sandy

Updating Multi-Value Lookup Fields - SharePoint Designer 2013 Workflows

$
0
0

Hey Everyone,

I’m having trouble updating multi-value lookup fields using workflows in SharePoint Designer 2013.  I have approached this from two different angles (2010 workflows and 2013 workflows), but have not been successful using either method.  The problems I’m experiencing with each are different, as I’ll describe below, but the end goal here is the same, so I’d be thrilled if I could find a resolution to either issue.

Method 1 – SharePoint 2010 Workflow (Update list item)

This method looks like it should be relatively straight forward.  I call a SharePoint 2010 workflow (or just running the workflow itself) and pass the appropriately formatted value (i.e. ID1;#;#ID2;#;#ID3) to the multi-value lookup field, but this has been having mixed results.

On the library I’m needing to do this, some items update successfully while others do nothing.  For example, I run the workflow on items 1 – 10.  Items 3, 4, and 7 have their lookup field updated successfully, while the remainder do nothing.  The workflow runs successfully on all 10 items, no warnings or errors and nothing different happens in the ULS logs that I can determine.  The items that update are consistent as well.  If I deleted the values from 3, 4, and 7 and run the workflows once more, 3, 4, and 7 will again update while the rest don’t.  However, if I only pass one value (ID1), then the field updates successfully on all items.  Other fields requiring only one value (text, lookups, etc.) have no issue updating appropriately.

That said, this issue only seems to be occurring in this one particular library thus far.  I have not been able to reproduce this issue in other lists/libraries yet (I’ve admittedly only tried on a couple others).  I’ve tried adding pauses, creating new workflows from scratch, passing parameters, variables or hard-coding values – they all have the same outcome on this library.  I can set multiple values if I manually do them, it’s just the workflow that’s failing to process this on some items.

Any insight as to why this might be occurring would be greatly appreciated.

Method 2 – SharePoint 2013 Workflow (POST web service call)

With Method 1 failing me, I decided to try updating the field via a POST web service call.  Is this even possible?  I don’t know how many hours I spent trying to make this work, but at this point I’m led to believe Designer workflows simply cannot accomplish this.  I can make it happen via other REST clients, but in Designer, it looks like the multi-value lookup field expects an array object which Designer itself is incapable of producing.  Dictionary objects and string arrays don’t appear to be sufficient no matter how I try to construct them.

I’d love to know if there’s some way to make this work.

Thanks,

Jordan

How to approve the content by Approver and Admin using sharepoint designer

$
0
0
Approvers who will be approving the content for each location. Initially the list of Approvers shall be provided by respective teams to XXXX team. Going forward Admin from respective teams shall be able to take care of the same in the tool

Inline Editing - Edit Link

$
0
0

I have a problem with SharePoint Designer 2013. I have created a Data View from the Database Connection (SQL Server Management Studio). I want to use the Inline Editing to show edit item links for every row once the user click on the edit link.

The problem is that when the web page is loaded the edit button is not visible, but the save and cancel buttons are visible together with every text-field.

The funny thing is that when I tried to do the same with an XML File as a Data Source, everything worked correctly.

The style of the webpage is still as default

Anyone knows what's causing this problem?


Add default meeting rooms in SharePoint 2013

$
0
0

Hi,

I have created Meeting room reservation calendar in SharePoint 2013.

I have selected the week group view as the default view for the calendar.When i open the calendar,i have to add the resources and then add the reservation.

But my requirement is, resources should be always shown in the left side in the below fig in place of "Add Resource" and should not disappear after page refresh. And user should not always add the resources.

Please help

Waiting for quick response .

Thank you


Adding DataView Web Part Shows Nothing On Page!

$
0
0

I'm trying to add a DataView Web Part. I'm following guides but when attempting to view the page I get nothing. I'm not sure what's going wrong. This used to just work in 2010 but everything has changed and is broken.

Any insight as to why when I add the web part I don't see anything on a brand new page would help.

Steps I followed:

  1. Create new "Web Part Page".  I pick the first one
  2. Edit page.  Put cursor behind "TitleBarWebPart" tag. I've tried overwriting it as well.
  3. Insert Dataview Web Part to Document Library.  Nothing fancy.
  4. Save and View.

What am I missing?


David Jenkins

How to fix this Designer Workflow error?

$
0
0

Hi All,

I am facing below error while trying to publish designer 2010 worflow:

(0, 0) Activity 'ID18' validation failed: An IfElseActivity must have at least one child of type IfElseBranchActivity.)

How to fix this issue?

Thanks in advance!

Best Choice for Document Consolidation

$
0
0

I am wanting to create a page\pages that show all documents consolidated by category.  I have the Standard Edition of SharePoint 2013.  I know there are a few options and I'm trying to decide which way to go.

I know I have the Content Query web Part.  That works okay.  I also know I could use the DataView web part and create a Data Source in SP Designer consolidating all the libraries that way.  I guess a third option would be JavaScript and I'm not verify confident in my skill yet for this.

So the discussion I guess is which way of consolidation should I go?

I also would like to take Navigation into consideration.  I was thinking of how I would create a Navigation Menu for my Categories.  I'd love to be able to have something show in Global Nav that matches my Categories in a SP List.  But not have to create a link to said source each time.

This does seem like what the Metadata Navigation stuff is for but I don't understand how I'd go about implementing Metadata Nav to an SP List.  Or if that's possible.  It just seems like Metadata navigation is just a different way of making links.  I know it's more dynamic than that but for Navigation I don't really see a huge benefit.


David Jenkins

SharePoint Designer 2013 Workflow suspended. HTTP 500 the remote server returned an error

$
0
0

Hi All,

Some users reported that we published SharePoint Designer (SPD) 2013 workflows and now they trigger the same workflow status asSuspended as shown.


 Theyalso mentioned that for new SPD 2013 list and site workflow they are the following error:Errors were found when compiling the workflow. The workflow files were saved but cannot runand in advanced button is shows: System.ServiceModel.ProtocolException: The content type text/html; charset=utf-8 of the response message does not match the content type of the binding (application/soap+xml; charset=utf-8). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first 1024 bytes of the response were: '<!DOCTYPE html>

<html>

  <head>

<title>Runtime Error</title> <meta name="viewport" content="width=device-width" /> <style>

 


The workflows were working a month back using Workflow manager. A month back also, the primarySharePoint Application Server was renamed that hosts workflow manager.  Application Server has workflow manager installed.

I troubleshoot as follows on the application server.

  1.       UPS and App Management services are STARTED.
  2.       Verified the Workflow status (get-WFfarm, Get-WFfarmStatus). Servicename (WorkflowServiceBackend, WorkflowServiceBackend) and ServersStatus shows running.
  3.       In IIS The “WorkflowMgmtPool” is started.
  4.       The Workflow service application is STARTED and proxy showsWorkflow is connected.
  5.       Workflow related services
    1.       Workflow Manager Backend
    2.      Service Bus Message Broker
    3.       Service Bus Gateway
    4.      Windows Fabric Host Service (FabricHostSvc) are running.
  6.       In SharePoint Designer 2013, I am able to view SharePoint 2013 workflow inPlatform type.
  7.       I created a new Site WF and just added to Log to workflow history list, end the workflow and saved it. While Publishing I get the same error which users are getting.Errors were found when compiling the workflow. The workflow files were saved but cannot run.    

In the ULS logs, grabbed Correlation ID for Suspended workflow, I used merge SPLogFile Merge-SPLogFile –Path "D:\temp\MergedLogs_20150619_1143.log" –Correlation bb330e9d-ac59-20ef-c7e7-b521b74e490f -Overwrite   And found a couple of errors in ULS logs.

  • SPJsonWebSecurityBaseTokenHandler: ValidateActorIsSelfIssuer! Issuer '00000005-0000-0000-c000-000000000000' is not self issuer.
  • SPApplicationAuthenticationModule: Failed to build cache key for user. A blogged has mentioned about this error http://blog.houratious.com/2014/06/sharepoint-2013-workflow-server-was.html
  • Application error when access /_vti_bin/client.svc, Error=The remote server returned an error: (500) Internal Server Error.

at System.Net.HttpWebRequest.GetResponse()    atSystem.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout

  • Exception returned from back end service. System.ServiceModel.ProtocolException: The content type text/html; charset=utf-8 of the response message does not match the

·content type of the binding (application/soap+xml; charset=utf-8).

Question: Is renaming application server effected the Workflow instanced not working? There is an Technet article about renaming the Workflow Manager server.  https://msdn.microsoft.com/en-us/library/jj193527%28v=azure.10%29.aspx?f=255&MSPPError=-2147217396
Question: How can I fix this issue its show stopper for us?

Any suggestions will be helpful.  



Sandy

Viewing all 9368 articles
Browse latest View live


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