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

Infopath2013 : How to use a dataconnection that stored in Central Admin

$
0
0

I was able to call GetUserProfileByName using local stored data conntection and it worked fine but now when i change the dataconnetcion type to Centrally Managed Connection(i have already uploaded the file in CA)

it throws error when i am publishing the form 

Error : "This form template requires administrator approval. To publish the form template, click the File tab, click the SharePoint Server button on the Publish tab, and select the Administrator-approved option in the publishing wizard."

Can someone point to me a perfect source how to handle data conntections that are stored in CA?

Thanks in advance


InfoPath Dropdown Not Keeping Value After Saving

$
0
0

Hello everyone,

I have a form with 3 views. The 1st view is a blank form that will be filled out by the user; the 2nd view is Read-Only and it's only used for printing; and the 3rd view is for a different group to fulfill a request submitted using the 1st view. In this form, I have a dropdown that gets populated from a SharePoint list, and this list is only queried every time the form is loaded on the condition that a specified field is blank.

The problem I have is that every time a user submits the form, the dropdown value is set to the first entry from the SharePoint list no matter which value the user picks. Then, when the form needs to be fulfilled, the dropdown only shows that first entry and not the rest of the values.

As I mentioned before, the connection to the SharePoint list is only queried when a specific field is blank. What could be the reason for the form not to save the selected value and just save the first one? Should I query the connection again based on a different condition so it can keep the original value on all the views?

Thanks in advanced.


Fausto Capellan, Jr - SharePoint Admin

Error :UserProfileService using InfoPath 2013 claim based authentication

$
0
0

when i am trying to get current user info using UserProfileservice i am getting below errors any thoughts?

Error1

Delegation was attempted for Secure Store application SP_APPID. (User: 0#.w|xxxx\xxxxx1, IP: , Request: "infopathurl")

Error 2:

Data adapter failed during OnLoad: The remote server returned an error: (500) Internal Server Error.  A user with the account name xxxx could not be found. ---> An error was encountered while retrieving the user profile.  UserCannotBeFoundAn error was encountered while retrieving the user profile.

Error 3:

The following query failed: GetUserProfileByName (xxxxx1, Form Name: test123, IP: , Connection Target: /GetUserProfileByName.udcx, Request: "infopathurl", Form ID: urn:schemas-microsoft-com:office:infopath:test123:-myXSD-2013-11-15T21-20-30 Type: DataAdapterException, Exception Message: The remote server returned an error: (500) Internal Server Error.  A user with the account name xxxx1 could not be found. ---> An error was encountered while retrieving the user profile.  UserCannotBeFoundAn error was encountered while retrieving the user profile. The remote server returned an error: (500) Internal Server Error.)

Thanks in advance


jQuery tabs with web parts not working or showing properly in SharePoint 2013

$
0
0

I've used the jQuery code found on the SharePoint Hillbilly site and it works fine in MOSS2007 and SharePoint 2010.

However, in SharePoint 2013, the web part editor drop down menu is disappearing and the web parts are not displaying in the jQuery tabs. They render as blank on the page. I got it to display once in IE8, as well as Firefox and Chrome, but then it went away.

I have the three jQuery files (CSS, js, custom js) saved at the top level SharePoint site, but have thought about trying to save them at the sub-site level I'm building the page on to see if that makes a difference.

<!-- Reference the jQueryUI theme's stylesheet on the Google CDN. Here we're using the "Start" theme --> <link  type="text/css" rel="stylesheet" href="/SiteAssets/jquery-ui-1.10.3.custom.css" /> <!-- Reference jQuery on the Google CDN --> <script type="text/javascript" src="/SiteAssets/jquery-1.9.1.js"></script><!-- Reference jQueryUI on the Google CDN --> <script type="text/javascript" src="/SiteAssets/jquery-ui-1.10.3.custom.js"></script> <style type="text/css"></style><script type="text/javascript">
     jQuery(document).ready(function($) {
         $(".s4-wpcell").hide();
         $(".s4-wpcell-plain").hide();
         //Put the Web Part Title for all the Web Parts you wish
         //to put into the tabbed view into the array below.
         setTimeout(function() {
            HillbillyTabs(["Issue","Image Viewer","Time","Speakers","States","Cities","SlideShow"]);
        }, 0);
    });
function HillbillyTabs(webPartTitles)
    {
        for(index in webPartTitles)
        {
            var title = webPartTitles[index];
            $("#HillbillyTabs").append('<li><a href="#Tab'+index+'" id="TabHead'+index+'" onclick="SetActiveTab(this.id);">'+
title+'</a></li>').after('<div id="Tab'+index+'"></div>');
            $("span:contains('"+title+"')").each(function(){
                if ($(this).text() == title){
                   var webPart = $(this).hide().closest("span").closest("[id^='MSOZoneCell_WebPart']");
                   if ($(webPart).contents().html() != undefined)
                   {
                           webPart = $(webPart).contents();
                   }
                   $("#Tab" + index).append((webPart));
            }});
        }
        $("#tabsContainer").tabs();
        $(".s4-wpcell").show();
         $(".s4-wpcell-plain").show();
    }</script><div id="tabsContainer"><ul id="HillbillyTabs"></ul></div>

Any ideas on what might be going wrong? Are there general issues with using jQuery tabs in SharePoint 2013 that I should be aware of?

Sharepoint designer 2013 can't open the site

$
0
0

When trying to open https://hairylemon.sharepoint.com ( Sharepoint2013) through the Share point Designer2013 I get following error:

"Sorry, we are having some temporary issues"


After attempting for several times it comes up with following message:

"Microsoft SharePoint Designer does not support editing non-Sharepoint sites"

Any ideas why this might be happening? Not sure why it  thinks it is a non share point site.

Adding List Items to an E-Mail send out by a SharePoint Workflow

$
0
0

Hi all,

i have created an Workflow, where the Approver of a Team Space Request gets an automatic E-Mail, when a new Team Space Request is added to a list. Now I want to fill the E-Mail with some additional information. The Approver should see the items filled out by the Requestor (Title, Team Space Name, Description, Team Space Quota) in the E-Mail he receives. How can I add those fields to the outgoing E-Mail?

 

Thanks

Error: var g_objCurrentFormData_Error : There has been an error while processing the form

$
0
0

Hi,.

I have a InfoPath 2010 form which was published to SharePoint 2010.  I migrated the content db to SQL Server 2012 and I have converted the Sharepoint 2010 (windows based) to the SharePoint 2013 claims based site. I have not fully upgraded the site to 2013 version (Version upgrade to SP 2013) is not done..

In the InfoPath 2010 form, which is available in SP 2013. I have a button and on click of it, i have the below code:

  XPathNavigator domNav = MainDataSource.CreateNavigator();
XPathNavigator fldUserurl = domNav.SelectSingleNode("/my:myFields/my:TaskUrl", this.NamespaceManager);
 if (!string.IsNullOrEmpty(fldUserurl.Value))
            {
 string urlToDecode = HttpUtility.UrlDecode(fldUserurl .Value);
HttpContext.Current.Response.Write("<script type='text/javascript'>window.open('" + urlToDecode + "','_self','left=20,top=20,width=500,height=500,toolbar=1,resizable=0');</script>");
HttpContext.Current.Response.Flush();
HttpContext.Current.Response.End();
            }    

The above code works fine in SharePoint 2010, however after moving the Site to SP 2013 Claims mode, I am getting the error as

"var g_objCurrentFormData_Error = [[[12,"There has been an error while processing the form.","","","guid"]],[],0,"","",1033,"","",["0","","","","","",0,0,"",0,false],"","0",false,"",0,"","http:\u002f\u002ftest-t1.com\u002fs\u002fTestApplication","ltr","http:\u002f\u002ftest-t1.com\u002fs\u002fTestApplication",6.35202885373882E+17"

In the SP Logs, i found the below:

Unhandled exception processing request for PostbackPage Microsoft.Office.InfoPath.Server.Util.InfoPathFatalException: Exception of type 'Microsoft.Office.InfoPath.Server.Util.InfoPathFatalException' was thrown.   
 at Microsoft.Office.InfoPath.Server.Util.GlobalStorage.get_CurrentFormId()   
 at Microsoft.Office.InfoPath.Server.Util.GlobalStorage.get_CurrentContext()   

How to fix this?

Thanks


Handle on change event of a people picker column in Infopath list form hosted in SharePoint 2013 Online site

$
0
0

Hi,

I have the following requirement:

1) I have developed an Infopath list form for a list in SharePoint 2013 online site.

2) I have a people picker field as well as Department, Telephone Number and email id fields in the form. When user fills data in the people picker field and resolves the value in the people picker, the system should automatically read Department, Telephone and email id from user profile and fill the values in the corresponding columns in the form.

3) As of now i don't have any code behind. And, i am under the assumption that Sharepoint 2013 online doesn't support code behind in infopath forms.

Can someone please guide me how to go ahead for the requirement. I am assuming we will use REST API to get data from User Profile. But, how to handle on change event of the people picker column?

Thanks in advance!


External list not updating on published page

$
0
0

I have a problem with adding an external list on a page.

I have created an external content type in SharePoint Designer och created an External list from it. The list shows and updates as it should.

When I add an external list web part to a page and check in the page it works as well. But when I publish the page, the web part doesn't update to show the result. It just shows the updating icon. I have tested with pages that do not require publishing and everything works just fine.

Have anyone experienced this? Is it a bug?

Kicking off a workflow

$
0
0

In SPD I only have the next three options to kickoff a workflow:

- manualy

- when a new item is created

- when a item has been modified

Is it however possible to let a workflow kick-off when a list-column is set to a certain value?

How to rename "add new announcement" in SharePoint 2013

$
0
0

Hello everyone,

This question has been bugging me for several days now but I can't seem to find a clear answer anywhere.
I'm trying to rename the "Add new announcement" linkname into something like "Add new Article".

There were lots of similar articles but they all seem to point to SharePoint 2010 and does not get me anywhere.

Any help with this is greatly appreciated.

List Forms - change width

$
0
0

HI All,

I am unable to change TD width in SharePoint list forms (Check the attached image), it remains fixed @ 350px. Any change done to the td width using developer toolbar does not reflect. I have tried applying custom css class using jquery, even that did not help.

Regards,

Ameya


Designer 2013 on Windows 8.1 and SharePoint Online

$
0
0

The Windows Compatibility Center says that Windows 8.1 and SharePoint Designer 2013 have no issues. However, trying to use SP Designer 2013 on my SharePoint online site doesn't work.  I get constant message boxes telling me "the server unexpectedly closed the connection."  The site is kind of flaky on IE 11 also.  Works perfectly on IE10.

Am I doing something wrong or does it just not compatible?

Thanks

Jason

Overriding Rendering Templates in CONTROLTEMPLATES

$
0
0

Hi Experts,

as you know in 2010 it was possible to override the RenderingTemplates of controls such asMultipleLookupField. This one is always to small!!! So we had one single point of customization to say: This controls renders like this everywhere!

As of now SharePoint is using Client-Side-Rendering (CSR) which can be switched to Server-Rendering in the Tool-Pane of the WebPart for new and edit.

So, is there a way to configure this mentioned override server-wide on SharePoint 2013?

Please, don't tell me to add JavaScript or switch to Server-Rendering. Suppose you have 200 lists and each contains such control...

Of course, i could write some code to do it, but this is not the case. It should be easier! - Just it was in 2010.

So, somebody already digged into it?

With Best regards, Ronny


Anybody??

Group By View on Multiple Choice Field in Sharepoint 2013

$
0
0

Hi!

I have a list with two muliple select fields (make & modell), the list is grouped by this fieldss.

And in the view i would like to show the items like this:

Make1
- Modell1
--- file1.docx
--- file3.docx
--- file4.docx

Make2
- Modell2
--- file1.docx
--- file3.docx
--- file4.docx

 

i have found solutions for this regarding  SharePoint 2010 and older versions, but none that applies to SharePoint 2013.

Anyone that has an idea about how to solve this?


which display template is this?

$
0
0
I'm  looking to make a custom display layout template and I'm looking to use some of the features from the attached, however, I can't find what template it is. does anyone know?

Default edit form for a document library

$
0
0

How do I change the default edit form back to the one that was already there? 

In Sharepoint Designer, on the library information page, I made a new form, based it on a content type, designated it as a default and saved it.

I can't figure out how to get the "choose content type" drop down box (the library has several) back, so I need some help to a) add a choose content type control to my new edit form, or b) go back to the old form. Any ideas?

Filtering Task List in DataView with ParameterBinding and QueryString behaviour

$
0
0

Hi Experts,

i have added some DataViews (XsltListViewWebPart) with SharePoint-Designer to a custom EditForm.

All theses DataViews are showing related data from the parent form.

Filtering is set up through ParameterBinding on QueryString.

For some how reason filtering on QueryString-Parameter works NOT for Task lists but for all others, even Doc-Libs.

Binding:

<ParameterBinding Name="LeadID" Location="QueryString(ID)" DefaultValue="0"/>

Filter:

<Query><Where><Eq><FieldRef Name="Lead_x003a_ID"/><Value Type="Text">{LeadID}</Value></Eq></Where></Query>

If i define a DefaultValue of a valid ID (e.g. 2) then the DataView will be filtered correctly.
Why does this don't work for Tasks Lists?

Any hints?

Thanks, Ronny

Workflow Task and button into the Ribbon of Outlook 2013

$
0
0

Hi, I have SharePoint 2013 with CU April.

When I create a WF (VS2012 or SPD) with a task activity for one or more users, the email message on Outlook 2013 (2010 is the same) comes whitout the button "Task" in the Ribbon.

If I create a WF2010 (VS2012 or SPD for SharePoint 2013) the button is correctly displayed on my Ribbon.

I have understood that SP2013 not use InfoPath for its forms but... I want my button "Task" for complete my activities from Outlook.

Some solution?

Thanks,
Mauro

Issue with putting the title of the document on the form after submitted

$
0
0

I have a form and on submit I have it saving using this function : concat("CI-MR-", max(ID) + 1) This works every time.  The issue i am having is displaying the Name of the form or even just the ID number on the form.  every time i open the form the number is incrumented rather then just showing what it was when it was submitted.  All I really need to do is get the Title Field from sharepoint and put it on my Infopath form.  I can not figure out how to do this.  I added a new connection added in the Title and then put that on a form every time i open the form it shows the last one entered rather then the one that it was saved as.  Please help I cant think of anything else to try.

Viewing all 9368 articles
Browse latest View live


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