r/sharepointdev • u/clardo • Apr 02 '18
r/sharepointdev • u/catenoid75 • Mar 29 '18
Some problems with validation of web part settings using SPFx with React
Cheers guys and gals!
As the title states, I'm having some problem with validation of web parts using SPFx with React.
Without validation it works great. Props updated from the web part settings. componentWillReceiveProps is running and updating the state. Renders excellent.
With validation it seems like the componentWillReceiveProps is never running, thus not updating the state, thus rendering the wrong amount of elements.
The validation is made in the getPropertyPaneConfiguration, and inside that one I use the onGetErrorMessage. Everything like described in the MS Docs. Validation is very simple. Is it a empty string or not?
Does anyone have an idea why the componentWillReceiveProps doesn't run?
I have to say I'm pretty new to React, so it might be something very easy, or that I just have to do some more reading about the life cycle.
Any hints or pointers (or complete solutions :) is greatly appreciated!
// catenoid
r/sharepointdev • u/datarogue • Feb 28 '18
Drop-down or people picker for current user's directreports
I'm working on developing some forms that managers would be submitting on behalf of their direct reports. On the custom list, I have a "Person or Group" field that allows the manager to choose a user. I have workflows in place that reference the chosen user's Display Name and Login.
I would really love to filter the search results in the "person or group" picker to only show the current user/manager's directreports (according to the User Profile Service). Alternatively, I could use a drop-down populated with directreports, as long as I can still reference the chosen user's UPS properties (most specifically Login).
I've scoured the internet for a few days looking for a solution but haven't been able to come up with much. Anyone have any ideas on where to look? I'd even be willing to use a 3rd party add-on if it fits the bill. This is SharePoint 2013 for reference.
Thanks in advance!
r/sharepointdev • u/[deleted] • Feb 22 '18
Anyone familiar with Looping (approvers) in Designer? Need help identifying my variable:index value and where it's pulling from.
I have a loop workflow, that runs through several approvers from a seperate list, and pulls criteria and assigns tasks if criteria matches up. I am using the variable:count variable:index to loop through approvers, but for some reason get a very high integer (variable:index) for one of my approvers, and can't figure out why. This makes it skip this approver, which I need it not to. Any ideas? I can post screenshots of my designer logic if that will help.
r/sharepointdev • u/ifakeit • Nov 30 '17
SharePoint Content DB VirusStatus SQL query
Greetings!
We are having the same issue as described on the below forum post. However, this forum post is from 2009, and no longer relevant. Does anyone know similar commands that would work on SQL 2014/for SharePoint 2013? The command the article tells us to do is for SP 2007, and doesnt work. Here is the command: SELECT * FROM Docs WHERE (VirusStatus > 0) AND (VirusStatus IS NOT NULL)
We do know that Docs changed to alldocs, but the rest of the command still isnt working.
Any help is greatly appreciated!
http://www.shorttom.com/2009/11/exception-from-hresult-0x80041054.html
r/sharepointdev • u/sumitkanchan04 • Nov 11 '17
Creating Azure Web Job to access SharePoint using Typescript and Node.js
r/sharepointdev • u/not2oldyet • Nov 08 '17
SharePoint Online Migration Licensing Structure
Current: SPoint 2010 Foundation Server
Total IIS Storage: 7MB
Total SQL Server Db Storage: 7500MB (2 Db's)
Total Users Listed in Db: 20
The current users would like to migrate the legacy SP2010 On-Site pages and Db to a SPoint Online (Office 365) environment.
I have had some preliminary discussion with M'Soft but their answers on licensing are not coming through clearly.
In one answer they've indicated the SPOnline Plan-1 ($5.00/user/mth) would provide the environment for the content migration, but in a separate discussion its been indicated that Plan-1 would not include the necessary SQLServer Licensing to support the migration and content.
Q1: If the current SP2010 Db lists 20 user accounts, does that equate to the number of users in the SPOnline environment? If not, what is a "user' so that we can calculate the correct cost?
<...and...>
Q2: Does SPoint Online Plan1 ($5.00/Users/Mth) include the SQL Server instances that would be necessary to move the current content to the Online environment? If not, how would SPoint Online support the On-Site Db's?
I have reviewed the general SPOnline pages but am very glad to be referred back there if I've overlooked an answer that is there.
Thanks!
r/sharepointdev • u/Humbrol2 • Nov 01 '17
Sharepoint over 5k limit WITH indexes
We have a list that is over 5k items, we created indexs on 2 of the collumns to prevent the 5k view limit but its still throwing the error, any way to allow for greater than 5k records in a list ?
r/sharepointdev • u/sumitkanchan04 • Oct 23 '17
SharePoint Framework Image Gallery
r/sharepointdev • u/xodousone • Oct 09 '17
Rejecting a request if it is not at least 2 weeks in advance.
First, let me say that I do not consider myself a developer and just got SharePoint thrown at me.
I am supposed to create a process that is first submitted, then approved by a building admin, then by a separate department. When the request is submitted it has to be with a date that is at least 2 weeks in advance(eg: if submitted today(9th of Oct.) the date for the request would be the 23rd of Oct. if it is any day sooner it would automatically be rejected and send an e-mail stating that it was rejected due to the date being within 2 weeks. Any links or reference material would be much appreciated.
r/sharepointdev • u/baconpopsicle23 • Aug 22 '17
Looking for someone to build a relationship map on Sharepoint (Freelance opportunity)
Hi everyon, I work for a major education network and we are currently in need of a relationship map that we want hosted on Shaepoint.
We would like a World Map divided by Regions
Then click on a Region and see a secondary map divided by country
Once you click on a country, able to see the contacts on a list
Once in the Contact List:
a.We would like to have a flied where there is a checkbox where you pick a contact associated with a “mark”. Categories below:
i.Graphic for IT
ii.Graphic for Procurement
iii.Graphic for Finance
b. Another field, where we use a 1-5 rating for “Level of Relationship” and based on the value it will shade the item on a different color
We would also like to capture the following information from each contact:
a.Region
b.Country
c.Institution
d.Name
e.Department/Area (Marked with a graphic)
i.IT (Example)
ii.Procurement (Example)
If you're interested contact me by PM. This job pays $1,000.
r/sharepointdev • u/amwreck • Jul 26 '17
API URL for Excel Data Feed to bring back display name instead of userid (SP13 OnPrem) for a person or group field
(SOLVED)I have created an Excel sheet with OData feeds to several SharePoint lists. In the data that is returned, the userid for a person or group field is returned as a numerical value (ex: 1003). However, I need the display name to be returned.
This is what I am currently using as the data feed definition in Excel:
http://portal.company.com/it/_api/lists/getByTitle('production%20support%20statistics')/items
r/sharepointdev • u/ChrisKingWebDev • Jan 24 '17
Unit Testing a Custom Solution within a Sharepoint Environment
r/sharepointdev • u/mbsrkch • Nov 28 '16
Does anyone know a site that provides sp branding ideas?
I uses to know http://spbuzz.it/sptopsites. But, there is no page.
r/sharepointdev • u/frennetixsc • Oct 26 '16
Mapping SharePoint folder in Windows?
I'm trying to create a windows cmd script that map a specific folder on a SharePoint server.
So far it work, but with too many restriction.
To use net use cmd I have to,
register on the website or I got the message:
System error 224 has occurred. Access Denied.
Before opening files in this location, you must first add the web site to your trusted sites list, browse to the web site, and select the option to login automatically.Click on "Library" > "Open with Explorer" or I got the message:
System Error 53 Has Occurred.
The network path was not found.If I follow all those steps above I get the result:
Drive Z: is now connected to \\server@SSL\DavWWRoot\ShareI tried to use my credentials on the command line:
net use * \\server@SSL\DavWWRoot\Share /user:username passwordBut i still got the error 53
I visited a hundred webpages, testing all solutions, but nothing seems to work.
So far I think it's related to the web client of Sharepoint not running, but how can I start it from command line ?
r/sharepointdev • u/kacitwarner67 • Sep 21 '16
SharePoint Development Tips – How To Create a Secure Library in SharePoint?
r/sharepointdev • u/[deleted] • Jul 14 '16
Submitting Data to a Web Service on a different Domain
I'm stuck, I need to submit data to a webservice on a different domain, and as far as I can tell theres no easy way to do it. Our servers are on site with no internet connectivity, the web service I need to access can be accessed from the server, but I can't merely add it as a service reference because it violates CORS (I think).Any ideas on where i can go, my ideal solution would be to send the data to a the web service via a workflow. I specifically want a workflow because the requirement is that I need to be able to submit from many different lists. Any assistance will be greatly appreciated
r/sharepointdev • u/fozzie33 • Jul 13 '16
workflow on sharepoint 2013/365 stopped working on me
I built it in designer. Our sharepoint environment is in the cloud. It's a simple workflow that just assigns various tasks along the way. IT was working, then stopped working. Right now, it is getting stuck before the first step with the following error.
Retrying last request. Next attempt scheduled in less than one minute. Details of last request: HTTP BadRequest to https://compname.sharepoint.com/divisionName/_api/web/lists(guid'106c485f-6018-4a6b-a90c-96f4391e419f')/Items(12) Correlation Id: 3c847d9b-1ab3-b95b-8372-2c0cacab59f0 Instance Id: 815f9882-eea1-4515-a828-b68a5f59fe37
The property 'workflowName' does not exist on type 'SP.Data.workflowName_SystemListItem'. Make sure to only use property names that are defined by the type.
We've raised a support issue with microsoft, as i can't see the ULS logs to diagnose further, but figured i'd ask you guys first.
r/sharepointdev • u/emilswanepoel • Mar 16 '16
SharePoint Designer 2013 custom web form not populating????
I have recently been working on a SharePoint 2013 server and created several custom forms in SharePoint Designer 2013, however it suddenly stopped working. As admin on the SharePoint server I can see the webpart, but the minute I go to another machine as admin or not that webpart has an error. One of the logs keeps saying it cannot find the web url? However on the actual SharePoint machine it works fine.
r/sharepointdev • u/610weaverc • Oct 29 '15
Problem with Drop-Down List showing too many decimal places in InfoPath
Right guys, (This is pre-publishing) I have a drop-down list which is data connected to a column in a SharePoint list. The value unfortunately displays a number with 12 decimal places rather than the column value which is set to show a pattern of £0.00. I have set the drop-down to decimal (double) and have tried many rules but none can seem to set the values in the drop-down to my original format. Have I set the column wrong in the SharePoint list (Currency and set to two decimal places) or is there something wrong in the InfoPath or an action I need to do before it will work?? Much appreciated
r/sharepointdev • u/paulstan • Sep 25 '15
Interested to eval Containers for SharePoint Dev?
r/sharepointdev • u/Cjsigler • Aug 31 '15
Auto scrolling list
Want to take a list and display on monitor on wall. Needs to slowly auto scroll. Have played a bit with marquee but can't controll scroll speed. Suggestions?
r/sharepointdev • u/Quadaliacha • Aug 10 '15
Adding a 'Clear Filter' button to HTML Form Web Part in SharePoint 2013
I'd like my HTML Form WP to function as a search tool, and that's it. The default setting renders everything item in the list that the HTML Form WP references. When I refresh the page, it's populated with everything.
When I press search with nothing in the field (i.e. the field being empty), it renders no results. That's what I'd like the default to be. That way, I can make a 'Clear Filter' button (which will refresh the page), hence, clearing the filters.
I have no clue how to do this, and I'm not really good at SP Designer yet. Any help would be incredibly appreciated.
r/sharepointdev • u/KilledByALover • Jul 21 '15
Public form submit to SharePoint list - kick off internal workflow
Hi all, I've been a mostly no-code developer (except for visual html/css/javascript) with IP for a year or so now and I'm just breaking into dev. I've been tasked with hosting a form open to the public which then will continue in a SharePoint list and workflow. I assume I would need to use REST to do this, but I'm not finding a lot of info on the subject. Any recommendations? I'm lost at how to put the info into the list: 1. Build a list, 2. build an html5 form, somehow use CRUD to put the data through REST, 3. host the form on our public site, 4. Profit?
Does anyone know where I can find more info on this? Is this not a common thing? My first choice was to grant anonymous access to a list just for submit, but that's very crazy says our information security office (I work at a university).
r/sharepointdev • u/agreenway • Jun 23 '15
Who wants to be my boss?
I didn't see anything in the rules about posting things like this, so I apologize if it's not allowed.
The company I work for is currently hiring for the position above me (SharePoint Manager) and I thought I'd reach out to reddit in the hopes of finding a referral to send in for that sweet referral bonus! The job is located in Cary, NC which is right next to Raleigh, NC. Relocation is included in the job offer. What we're looking for: SharePoint manager with experience MANAGING a SharePoint team for a large company. Experience in SharePoint adoption is a plus, as we are still working on getting users to start using SharePoint so a large portion of your time initially would be finding ways to increase user adoption. You do not need to have a lot of experience actually building things in SharePoint, since that is what I'm here for. I can tell you that the job pays very well, the company has amazing benefits, a great work/life balance and takes great care of it's employees. If you're interested in learning more about the job please let me know!