3,592 reputation
2722
bio website
location Norway
age 27
visits member for 4 years, 4 months
seen yesterday

Apr
14
comment How to remove the save and cancel buttons from Custom SharePoint List form(New form)
This is for 2013, and ListFormWebPart (I'm guessing you might be using both 2013 and this Web Part)
Apr
14
comment Event receiver Causes Problem while adding items to a list
One way to disable the event receiver is to call EventFiringEnabled = false ref my link in comment in question.
Apr
14
comment SharePoint 2013 CSOM: Is it better to pass a Context object around or a Url?
@ElliotWood: Yes, they should not initialize the object. In provider hosted apps you do something like SharePointContextProvider.Current.GetSharePointContext(HttpContext).CreateUserC‌​lientContextForSPHost() instead of just new ClientContext.
Apr
14
comment SharePoint 2013 CSOM: Is it better to pass a Context object around or a Url?
Note that when you initializing a new instance of ClientContext it will validate the URL, so at least 10 nanoseconds to save there. Although when initializing in a provider hosted app the overhead is much much larger
Apr
14
comment Event receiver Causes Problem while adding items to a list
I'm just guessing here, but perhaps something like this: adrianhenke.wordpress.com/2010/01/29/… ?
Apr
13
comment Use jQuery to make a “column” on the default view?
Is ajax interfering? For instance if the view has grouping enabled it will load through ajax. Many other scenarios can result in ajax as well, such as enabling asynchronous loading on the XsltListViewWebPart. - if yes than your selector will most likely fail, or the resulting text is initially wrong
Apr
11
comment Add List Item with managed metadata field through JSOM
Sorry @SanjayBhagia I am clueless. CSOM should not work any better if the others fail, especially since JSOM fails. I'm baffled that it works for you on update, but not insert. I can't see the link between that, and content type and taxonomy. Is it 2013 or 2010? (doubt taht matters). Could you try on a clean list/spweb/spsite/web app/server/something?
Apr
11
comment executeQueryAsync in for loop
Not to upset anyone, but I'm not quite sure how I feel about this answer, there are some points that bothers me; Spoonfeeding when another answer has the important parts already, using jQuery out of nowhere for no particularly good reason, copying the main and important gist from another answer, referencing a link for 2010 which has similar problems as the initial question (not using get_groups because it is for 2010) and lastly referencing myself with something that hardly looks like my name or my username :/
Apr
10
comment Can I add the sharepoint module to powershell? 2010 / 2013
You mean this? sharepoint.stackexchange.com/a/86122/627. Note that in 2013 you don't need any conditionals, just calling Add-PSSnapin "Microsoft.SharePoint.PowerShell" every time should work wonders
Apr
10
comment Add List Item with managed metadata field through JSOM
Just for the sake of it, could you try these steps: 1) Check ULS for additional exceptions. 2) Try using CSOM, remember fiddler if it works and 3) Try with REST (if 2013, or Lists.asmx(SPServices))
Apr
10
comment executeQueryAsync in for loop
Well look at that. I'm blind as a bat
Apr
10
comment ListFeed.aspx not returning all items
What do you not get back, the fields or the items? I first though you meant items (question title), which is probably because of paging in the view, although your question body states something else
Apr
10
comment executeQueryAsync in for loop
Actually, this might just work for SharePoint 2013. As you didn't specify the version you use I'll just leave this here
Apr
10
comment Need a page without chrome for a SP365 App
I was under the impression that by default the "app page" would always be clean in a SharePoint hosted app (at least mine always are), could you perhaps pastebin/gist your script references? (there are scripts to make the page brand based on host web)
Apr
10
comment SharePoint 2013 App on Google Chrome
It might as well be the loopback problem as @MuhammadRaja points out. This does depend on what type of app you have (SharePoint hosted/Autohosted/provider hosted), but I imagine you have Windows authentication, and so I would use fiddler to compare IE11 NTML authetication compared to how Chrome does it - you might get some clues
Apr
10
comment Copy file in a library to a folder in another library with Workflow
"On premise" as in local installs? Well yes, it is all over the place, including but not unique to 365.
Apr
10
comment Can you provide a list of objects that needs to be disposed in SharePoint?
According to link from @variable one should also dispose of PublishingWeb in some cases (in addition to SPWeb)
Apr
10
comment Copy file in a library to a folder in another library with Workflow
Actually, I think your REST suggestion is a good one. We use this in some of our workflows without problems, and they are easy to test out. There might even be an endpoint for copy
Apr
9
comment Configure SharePoint Apps on Production environment
What type of app? (This matters, for instance if it is provider hosted you don't need the DNS stuff at all)
Apr
9
comment How can I edit the 'Modified' date field in a sharepoint online list?
I haven't really tried this myself, so you have to follow the links I gave you, and get yourself a big cup of coffee. First things first though, you would have to see if you can get the remote PowerShell to work, and with that change the property. Google for something like "sharepoint 2013 remote powershell" might also help