Microsoft SharePoint

36K

Solutions

40

Articles & Videos

19K

Contributors

Microsoft Sharepoint is a software platform and family of software products used for collaboration and web publishing combined. These capabilities include developing web sites, portals, intranets, content management systems, search engines, wikis, blogs, and other tools for business intelligence and collaboration. SharePoint has a Microsoft Office-like interface, and it is closely integrated with the Office suite.

Share tech news, updates, or what's on your mind.

Sign up to Post

I am using handlebars and ran into an issue with trying to group by a category but I was able to fix that by using underscorejs.  Now my issue is using my object categorized into arrays into my template.  Here's an image of what I see in the developer tools:
Object with two arrays
As you can see, it's an object with two arrays.  I got the data to show by doing the following but as you will see, it's not very efficient because there are actually have 6 categories and not just two.
<!-- Handlebar Js Template Starts Here -->
   
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
 
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/handlebars.js/4.0.10/handlebars.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.8.3/underscore-min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.18.1/moment.min.js"></script>
<script type="text/javascript" src="../nrm/SiteAssets/projectMilestone.js"></script>

<script id="projectMilestone-template" type="text/x-handlebars-template">
 
<table border=1> 
 	<tr>
 		<th colspan="7">Milestones</th>
 	</tr>


	<tr>
		<td>Milestone Description</td>
		<td>Planned Date</td>
		<td>Revised Date</td>
		<td>Actual Date</td>
		<td>Type</td>
	</tr>
{{#Construction}}	
	<tr>
		<td>{{ MilestoneDescription}}</td>
		<td>{{ Planned_x0020_Date}}</td>
		<td>{{ 

Open in new window

0
Independent Software Vendors: We Want Your Opinion
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

My organization did a vulnerability scan one of our websites (SharePoint 2013) which is behind AD authentication... the report gives warnings about about "cross-site scripting" and "clickjacking" vulnerabilities.

My question is, if the site is behind AD authentication these are not actually vulnerabilities, are they?
0
I am using REST API with SharePoint 2013 and I want to know if the following url endpoint is legal or if there is a better way?
 //http://myspsite.com/nrm/_api/web/lists/getbyTitle('My_Project_Modules')/items?$select=DIR,Station,Title,Building_x0020_Number&$filter=Project_x0020_Number eq '402-CSI-001'     //<---  Works when I paste it in the browser
 var projNum = '402-CSI-001';
var endPointUrl = _spPageContextInfo.webAbsoluteUrl + "/_api/web/lists/getbyTitle('My_Project_Modules')/items?$select=DIR,Station,Title,Building_x0020_Number&$filter=Project_x0020_Number eq "+projNum;  //<---  Not valid when I run it in my code

Open in new window


Error I get in my js file
rest api error
js file
function loadSPItems() {
var projNum = '402-CSI-001';
var endPointUrl = _spPageContextInfo.webAbsoluteUrl + "/_api/web/lists/getbyTitle('My_Project_Modules')/items?$select=VISN,Station,Title,Building_x0020_Number&$filter=Project_x0020_Number eq "+projNum;//,ProjectNumber,ApprovalStatus,ProjectExecutionStatus”;
var headers = { 
	"accept": "application/json;odata=verbose" 
}
 
jQuery.ajax({ 
	url: endPointUrl, 
	type: "GET", 
	headers: headers, 
success: function (data) {
	console.dir(data);
}, 
	error: function (err) { 
	alert("Error Occured:" + JSON.stringify(err)); 
}
 
});
 
}

loadSPItems();

Open in new window




Thoughts?
0
Is there a way without code, to have two or three calendars in a SharePoint subsite automatically feed their data to a Calendar that resides on a site above them?
0
I have a List in SharePoint 2013. It acts as a Contact List where users can enter their information. The first column is titled "Name" and is populated from the GAL. Two questions:

1) is there a way to add a user who is not in the GAL (Global Address List)

2) What happens to an entry when that person is taken from the GAL (i.e. quits or is terminated)?

Thanks in advance
0
Which are the best training sites for IT?

I have been using -

Pluralsight
Testout
CloudAcademy
Lynda

Most engaging so far and helpful for certification was Testout which does not have all content. But still all training gets less engaging.

I have seen Stormwind which is less engaging and am looking for company like Stormwind which has all training module and more engaging it look go on preview but I have not heard much good feedback on internet and it is a big investment
0
I currently have code to create a folder in the list in SharePoint with Javascript. I am stuck on switching the context to use the newly created folder to create a subfolder. Existing code

<script type="text/javascript">  
  function createFolder() {
    var clientContext;
    var oWebsite;
    var oWebsite1;
    var oList;
    var itemCreateInfo;
    var listName = "DCNAttachments";
    var parentFolder = "0TopFolder2" // clientid
    var parentFolderURL;
    var url;
    var folder;
   
 
    clientContext = new SP.ClientContext.get_current();
    oWebsite = clientContext.get_web();
    oList = oWebsite.get_lists().getByTitle(listName);
    url = clientContext.get_url()+"/" + listName + "/"+ parentFolder;
   
    //check folder if doesn't exist will error if not existing
    folder = clientContext.get_web().getFolderByServerRelativeUrl(url);
   
    //change context to  url of clientid
           oWebsite1 = clientContext.get_web(url);
 
    itemCreateInfo = new SP.ListItemCreationInformation();
    itemCreateInfo.set_underlyingObjectType(SP.FileSystemObjectType.folder);
    itemCreateInfo.set_leafName(parentFolder);
    this.oListItem = oList.addItem(itemCreateInfo);
    this.oListItem.update();
 
    clientContext.load(this.oListItem);
    clientContext.executeQueryAsync(
        Function.createDelegate(this, successHandler),
        Function.createDelegate(this, errorHandler)
    );
     
 
    function …
0
I want to create different Document libraries under "DOCUMENTS" in left side pane in SharePoint 2013. To be clear, I do not want folders to appear on right side pane when I click on documents but want them to appear underneath the "DOCUMENT" with 1 tab spacing. How do I do this? Here is what I am trying to achieve in quick launch:

Documents
     Team Documents
     Project Documents
0
Windows 2012 R2 Web Server
Windows 2008 R2 SQL Database Server

I have this error

Item
Title
Version History
Alert Me
Reanalyze
Health
Manage Permissions
Delete Item
Manage
Actions
Databases running in compatibility range, upgrade recommended.
2 - Warning
Confi guration
The following databases have versions that are older than the current
SharePoint software, but are within the backwards compatible range:
SharePoint Config,
sharepoint Admincontent ea3442db-419c-4b06-9363-9276476fe767,
WSS Logging.
To achieve optimal results from these databases, use Upgrade-
SPContentDatabase to upgrade Content databases, or psconfig.exe to
upgrade other databases. For more information about this rule, see
"http://go.microsoft.com/"ink"?LinkID—142697".
SPTImerService (SPTmerV4)
cose
Severity
Category
Explanation
Failing Servers
Failing Services
Rule Settings
Version: 574.0
Created at 11/5/20 IS 12:00 AM by System Account
Last modified at 6/7/2017 8:06 AM by System Account


I tried the upgrade-spcontentdatabase command no luck

tried the psconfig also now luck

any one have some good examples to correct this?

Thanks

Tom
0
I have created a List in SharePoint 2013 for end users to visit and input their contact information.

How can I set this List up so each individual end user can only see his or her own entry and no one else's? Select managers will still need to be able to see all entries. SharePoint Designer is not an option. Thank you in advance for any support with this.
0
Office 365 Training for Admins - 7 Day Trial
LVL 2
Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

for hybrid migration from exchange 2010 to office 365 ,

can some body define steps required, do we need MFG to be set up and ADFS for single sign on

how to set up and manage  one drive  and sharepoint site in office 365

any common command shell to be used?
0
I have created a List in SharePoint 2013 where individuals can go and add tasks and updates to projects. But I want it to have different sections and each section to have a distinct heading. Is there an Out of the box way to do this without code or SharePoint Designer?
0
I have a field in my list called TCV

I want to create another field called TCV Category (calculated)

The calculation formula should accommodate the following
if TCV < 250,000 then TCV Category = E
if TCV GE 250,000 and < 5,000,000 then TCV Category = D
if TCV GE 5,000,000 and < 20,000,000 then TCV Category = C
if TCV GE 20,000,000 and < 100,000,000 then TCV Category = B
if TCV GE 100,000,000 then TCV Category = A
0
Hi Expert,

In my SharePoint Blog i have given access anonymous users add items and view the blog. But when the anonymous user want to post comment on the page it says...Access denied. you do not have permission to perform this action or access this resource.

Please help!
0
Hi EE,

When I am trying to log onto a subdomain of an intranet site, I am being denied access. I have granted myself complete access over the primary domain via the SharePoint Central Administration tool and have checked to see whether the subdomain 'pwa' is a managed path of the primary domain which it is, refer to the screenshot.

How do I troubleshoot from here?

Any assistance is appreciated.

Thank you.
Pic1.PNG
0
Hi Expert

I want to prevent Save as or download  option to anonymous users any files (docs. pdf, excel) from SharePoint 2013 site.

Please help!
0
Hello Experts,

Actually i'm wondering if i can share the sharepoint teamsites based on the distribution groups.
0
In SharePoint on premise, we have custom timer jobs that alert us when documents are about to expire without anything needing to change in the item.  How do we achieve this using SharePoint Online?
0
Hi EE,

As the above title I wish to grant myself access to the web application in the screenshot how would I got about doing this please bear 'in mind' I am rather clueless when it comes to Sharepoint.

Thank you.
Sharepoint-Web-application-permissio.PNG
0
Free Tool: ZipGrep
LVL 8
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Over the past two days one of our two Sharepoint 2010 WFE's has had an issue were the W3wp.exe process is crashing. Right now we have a traffic going to the other WFE for now. The sharepoint page on the problem server comes up but missing the Teams drop down and all calender list come up with page cannot be display and causes the w2wp.exe process to crash. Both servers have were recently patched with the 4/2017 MS Security patches and have the same patches for OS and Sharepoint installed.

I am not the greatest in Sharepoint and have tried the following without luck
1) SFC /scanow now
2) REplacing the ntdl.dll fille from the know working server to the one that is crashing
3) Compared web.config file can copies the once from the working server to new one, rebooted and still no luck.

Judging from the error code in the w3wp it is poiting to heap corruption but not sure how to fix it.
0
I have an issue where an organization has users in the "Users" local group and their SharePoint site will not allow docs to open unless IE is ran as an Administrator. Does anyone know how to get around this? I need the user to be able to open SharePoint documents in IE without being prompt for Admin creds everytime.
0
I'm migrating SharePoint sites from 2010 on premises to SharePoint Online in the cloud once a site is migrated.

After migrating each site, I'd like to have a powershell script that compares all "Lists" and "Libraries" counts and identify the delta's and either dump these into a file or email the results.

For example:  
On-prem:  http://collaboration/sites/SITEA
Cloud:  https://company.sharepoint.com/sites/SITA

Is this possible to do through Powershell?  

Thanks
0
Hello,

I was facing error morning excatly 1:48 AM,1:49 Am and 1:50 AM there is one user try to application which is connected event receiver but the changes was not updated facing error in event viewer and log files

Error loading and running event receiver IncomingEMailEventreceiver.IncomingemailEvent.IncomingemailEvent in IncomingEMailEventreceiver, Version=1.0.0.0, Culture=neutral, PublicKeyToken=3aaa61fcbadbe26c. Additional information is below. : The operation has timed out.
Event id 6875
Please let me know any facing same kind of error
0
Can anyone please describe the steps for SSL configuration in SharePoint 2013.
0
Hi EE,

If I am using the Sharepoint 2010 Central Administration how would give users permission to user certain applications? Additionally, how would I locate users with admin permissions for a particular site?

Any assistance is welcome.

Thank you.
0

Microsoft SharePoint

36K

Solutions

40

Articles & Videos

19K

Contributors

Microsoft Sharepoint is a software platform and family of software products used for collaboration and web publishing combined. These capabilities include developing web sites, portals, intranets, content management systems, search engines, wikis, blogs, and other tools for business intelligence and collaboration. SharePoint has a Microsoft Office-like interface, and it is closely integrated with the Office suite.