Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all 25064 articles
Browse latest View live

"UserProfileApplicationNotAvailableException_Logging :: UserProfileApplicationProxy.ApplicationProperties ProfilePropertyCache does not" exception occurs?

$
0
0

HI All,

When trying to fetch current user details using user profile service facing "UserProfileApplicationNotAvailableException_Logging :: UserProfileApplicationProxy.ApplicationProperties ProfilePropertyCache does not

"

Actually User Profile Service has already configured , activated and working fine, then what will be the issue. How to fix this?

Thank in advance!


Change Default settings for Content Search webpart

$
0
0

Hi

In my SharePoint 2013 On-premise deployment, I have added a Content Search web part to a page.  It is displaying the correct documents.  I have changed the webpart to display "Two lines" instead of the default "Picture on left, 3 lines on right".  I have created a site template from this site. 

When I create a site from this template, the content search webpart setting displays the default settings on the new site instead of the settings I has set in the template.

How can I stop this from happening?

Is there a way to change the default behaviour for the content search so it defaults to "Two Lines"?

Can this setting be changed using workflow? 


Marc Collins www.QGate.co.uk

Displaying List from another SharePoint instance

$
0
0
Hi Experts,  I'm trying to display list data in SharePoint 2013 from a completely different SharePoint 2010 instance.  I know this must be possible but I'm not quite sure where to start.  I'm guessing I'll have to use a REST or SOAP connection. Most of my experience is on the admin side of SharePoint.  Any help is greatly appreciated. Thanks.

how to read image file from /_layouts/images folder

$
0
0

Hi,

 I am putting an image in the _layouts/images folder in 15 layouts. and i wanna read this image for  further processing in my coe behind[ mine is, an application page code behind].

want to know the  line of code

 ===> "/_layouts/imahes/mycustomfoleer/myimage.gif"  failed. am getting an error file not found

pls help

Connect to SP database from another website

$
0
0

All,

I have a website and would like to get information from a SharePoint list. Is it possible?

Thanks

Open Dialog on item click javascript

$
0
0

Hi

I have survey page that send in data to a sharepoint list. In the list i want to be abel to click on "No Title" to open that item in a dialog how can i do that with javascript i tried a couple of tutorials i found but nothing worked.

Send Email in SharePoint Hosted App without using VS workflow

$
0
0

Hi,

I have created a SharePoint Hosted app which uses a visual studio workflow to send email within same domain.

Since I am in process of migrating custom aspx forms in SP2010 to SharePoint Online, each form is redeveloped as a SP Hosted app and I don't want to include a workflow every time to send email.

Is there any other workaround to handle email in SP Hosted app?

Thanks!

Checkbox events

$
0
0

Hi,

I am using sharepoint Edit Page to modify the Editform.aspx.    I've added a site column "Opt Out Publish" as checkbox (yes/no).

I would like to place site columns MySiteCol1 & MySiteCol2 on a Div as hidden initially.  If the user selects "Opt Out Publish" I would like to unhide the Div.   How can I place columns on a page and an onClick event to this checkbox.  Viewing the source all I see is below. 

Thanks.

Tom

<nobr>Opt Out Publish</nobr>
 </h3></td>
  <td valign="top" width="350px" class="ms-formbody">
  <!-- FieldName="Opt Out Publish"
    FieldInternalName="Opt_x0020_Out_x0020_Publish"
    FieldType="SPFieldBoolean"
    -->
   <span id='WPQ2b367d58d-e61a-4d0c-9d46-2bf458028f5dOpt_x0020_Out_x0020_Publish' data-sp-control='SPFieldBoolean' data-sp-options='{&quot;mode&quot;:2,&quot;source&quot;:&quot;Opt_x0020_Out_x0020_Publish&quot;}'></span>


My Folder View resets to All Content view when I drill down

$
0
0

I think it could be related to this issue

Background:

My site collection's home page apps/KC defaults to showing my report library with the All Content View. This is a flat view with items grouped by a term set based column. Similar to the above issue I think I have the Title column altered in a JS linked file to link to the document. If I switch to the Folder View and drill into a folder, I can see that the URL changes to the All Content view.

Here is my script:

(function () {
//This function will create a URL from the CurrentItem.FilRef# and set the text to currentItem.Title# and put it in the column
// designated in the template property Fields = {'columnName';{ ....
//According to the source doc, coulmn name should be a seperate column from the Sharepoint default Title, but I did not have any trouble using title .


//   Initialize the variables for overrides objects
 var overrideCtx = {};
 overrideCtx.Templates = {};

 //List of default Object.keys(ctx.CurrentItem)
 //ID,PermMask,FSObjType,HTML_x0020_File_x0020_Type,ContentType,File_x0020_Type,
 //File_x0020_Type.mapapp,HTML_x0020_File_x0020_Type.File_x0020_Type.mapcon,
 //HTML_x0020_File_x0020_Type.File_x0020_Type.mapico,serverurl.progid,
 //ServerRedirectedEmbedUrl,File_x0020_Type.progid,File_x0020_Type.url,
 //FileRef,FileLeafRef,CheckoutUser,CheckedOutUserId,IsCheckedoutToLocal,Title,
 //Created,Created.FriendlyDisplay,firstRow

// This is the text for the Web Part JS Link property ~sitecollection/_catalogs/masterpage/LinkTitleToDocument.js

 overrideCtx.Templates.Fields = {'Title': { 'View' : '<a href="<#=ctx.CurrentItem.FileRef#>"><#=ctx.CurrentItem.Title#></a>' }

};

SPClientTemplates.TemplateManager.RegisterTemplateOverrides(overrideCtx); })();

The Target Control type = View

Standalone = Override

Target Scope = /apps/KC

Template ID = 100

Any ideas?

Add an MSSQL "Linked" Server Object as a Data Source in Sharepoint Designer

$
0
0

This is a hard question to research as there are "Linked Data Sources" in SharePoint Designer.  NOT WHAT I'M TALKING ABOUT. :)

In Microsoft SQL Server you can create Linked Databases.  I'd like to find a way to use a Linked Database as a Data Source in SharePoint Designer. 

Why?

A common question in SharePoint Communities is how to go about adding an Oracle Database connection in SharePoint.  I am attempting to discover a way of linking an Oracle DB to MSSQL and then connecting SharePoint Designer to MMSQL.  I do this with the hopes I'd get more control over development in SharePoint Designer.  Right now it is painful to use Oracle as a Data Source.


David Jenkins

SharePoint 2013 - Not Working in IE. Working in FireFox

$
0
0

Hello,

My organization currently uses SharePoint 2007 for our corporate intranet site.

We are looking to revamp the intranet site and are looking at using SharePoint 2013.

I have set up a new server and installed SharePoint 2013.
I created a new Web Application "SharePoint - 80"

While logged into the server I have no problems accessing the new Web Application with IE 10 (on the SharePoint server).

However from my desktop using IE 8 i get prompted for my user name and password 3 times and then shown a white/blank screen. If I type in the wrong password i get "401 UNAUTHORIZED", which makes sense.

If I use FireFox I have no issues getting to the site. FireFox asks me for my username and password once and lets me in if I enter in the correct credentials.

IE by default has "Allow the pass through of window’s credentials (automatic login)" enabled. I disabled this feature and still see the same results when trying to log in.


What is also weird is i have noproblems accessing the SharePoint 2013 Central Administration page from IE 8 on my desktop (h t t p :// servername:33008/default . aspx).


Help...



Thanks,
Jay




Content Search Webpart is not displaying certain fields from my results

$
0
0

I am rolling up some list data from a subsite to its parent site. The list includes the Title and Health fields. The Health field is an image column. When typing in "Health" into the second line to display for the webpart, it doesnt show anything when I save and refresh. The Title field works, however. Another field "Created" also works but I don't need to display that column in the webpart.

Any ideas how I can fix this?

Sharepoint HTML Table of Contents help

$
0
0

Hello Everyone,

I am trying to create a table of contents on a sharepoint page, but have never used HTML before, so any assistance will be much appreciated.

I have inserted a web part into my sharepoint page that shows a list of subsites. Now, I would like to edit the HTML in the web part so that only items that begin with a certain letter or number are shown. How can I go about doing this? Are there any special codes that I can use?

SharePoint 2013 List Header Row Freeze

$
0
0

Hello, I've a long list in my site. When I scroll down then the headers are not appearing. That's why every time users should scroll-up and down. As I researched I've found a script which freezes the header row even you scroll-down. 

However, I am a very beginner in SharePoint developing. The script which I apply is below. When I apply then it doesn't make any sense. I've just changed the table id and inserted into a content editor. Can you tell me that what I'm doing wrong?

Thanks in advance.

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js" type="text/javascript"></script><style type="text/css"><!--
.DataGridFixedHeader { ; top: expression(this.offsetParent.scrollTop);}
--></style><script type="text/javascript">
$(function(){
var $table = $("TABLE[ID^='{4C9CFF20-B467-4E10-820C-0A132442CF98}']:first", "#MSO_ContentTable");<!--WRAP TABLE IN SCROLL PANE-->
$table.wrap("<DIV style='OVERFLOW: auto; HEIGHT: 420px'></DIV>");<!--FROZEN HEADER ROW-->
$("TR.ms-viewheadertr:first", $table).addClass("DataGridFixedHeader");
});</script>


KAdir


Single Sign On between SharePoint Hosted Apps

$
0
0

Hi,

How can I enable single sign on between SharePoint Hosted Apps?  I have three apps within same site collection.  Apps are in different domain then the web application (i.e. web app is http://one.some.com and app is http://sdw34df2423das32.apps.some.com) Any suggestions?


kashif


Problem designer feature Visual Studio 2013

$
0
0

Hi,

When I open my feature I can´t to see designer.

I see only xml.

Anyone can I help me?

GetListItems CAML query using Lookup fields

$
0
0

Hi,

I am struggling to find the correct CAML query syntax to use for GetListItems where I need to return an item ID based on a query involving both a lookup field (lookup is to a column within the same list) and a text field.

For Example (but changing one of the below to a lookup field):-

<soap:Body>
    <m:GetListItems>
      <m:listName>ListName</m:listName>
      <m:query>

<Query>
  <Where>
    <And>
      <Eq>
        <FieldRef Name="LevelOne" />
        <Value Type="Text">"test1"</Value>
      </Eq>
      <Eq>
        <FieldRef Name="LevelTwo' />
        <Value Type="Text">"test2"</Value>
      </Eq>
    </And>
  </Where>
</Query>

</m:query>

<m:viewFields>

<FieldRef Name ="ID" />

</ViewFields>

</m:viewFields>

</m:GetListItems>
</soap:Body>

Any help appreciated!

SP2013 Newsfeed disappearing on only one site

$
0
0

Site Feed web part is displaying Newsfeed items for one minute on page load and then they seemingly disappear, replaced with the statement: "It's pretty quiet here. Invite more people to the site, or start a conversation."

This keeps happening - have tried removing and relinking the web part, but it continuously disappears after exactly one minute.  Anyone know a fix for this?  I'm not having this issue with the site feeds on any subsites.  This is our main top-level site in the site collection.

Thanks in advance for any assistance!

How to create a submit button to add new record.

$
0
0

I created a new input form, and created a submit button which should save the record...

but it seems that the save button isn't doing anything... so how do I create a submit button that saves the new input and adds it to the list.

Any suggestions will be appreciated...

How to change the Master Page for all Site Collections in SharePoint 2013?

$
0
0

Hello,

I need to apply new Master Page for all (>100) Site Collections in one Web Application in SharePoint 2013 Server. Is it possible? How to do that?

Viewing all 25064 articles
Browse latest View live


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