User Profile
Agottimukkala
Copper Contributor
Joined Oct 07, 2017
User Widgets
Recent Discussions
Re: Does anyone know how logic of MyFeed webpart works in SharePoint?
@ganeshanap, thanks for your reply. I was testing the webpart. Yes, you are correct that i do not see the meetings, todos in the feed but i can see the information about documents, whom i am working with. I got confused after I see my collaborated documents.1.2KViews0likes2CommentsDoes anyone know how logic of MyFeed webpart works in SharePoint?
I am looking for the logic on how the myfeed would work in SharePoint when Item Insights are disabled. Is this feed completely based on MS Graph or Search or AI or only MS Graph ? I couldn't find any documentation over it unfortunately. Can anyone please let me know.Solved1.4KViews0likes4CommentsSearch Results webpart not working with longer query users profile filters
We have a search query which filters the news based on current user's profile properties. Our query is bit longer with length of 1,409 characters, but this is within the limit only. Since yesterday, we are getting an errorfor our kql query on our DEV tenant with the following error: Error making HttpClient request in queryable [500] ::> {"odata.error":{"code":"-1, Microsoft.Office.Server.Search.REST.SearchServiceException","message":{"lang":"en-US","value":"An unknown error occurred."}}} Steps to reproduce the behavior: 1. Create a query which filters based on current user's profile properties such as department, region, country and additional country, site name and also different news category topics. 2. If the all the news category topics (we have 20 topics selected), then the webpart starts failing with above given error. The same query is working on other tenants, we are afraid that this also affects on prod. Any suggestions please.4.8KViews0likes2CommentsUpdating Multi User Field Values does not work with Rest API
Does any one tried to update the Multi User field value using Rest API. I am not able to set the value and I always get the following error if I try to set multi user field value: My request body is like this: {"articleDate":"2017-10-27T22:00:00.000Z","articleContactsId":{"results":[31]}} I also tried with {"articleDate":"2017-10-27T22:00:00.000Z","articleContactsId":{"results":["31"]}} My response is: An unexpected 'StartObject' node was found for property named 'articleContactsId' when reading from the JSON reader. A 'PrimitiveValue' node was expected. For single user field user, I can set the user for updating item and I get 204 response. If anyone has correct example for multi user, please share.3.5KViews0likes1CommentUpdate ListItem in Modern Pages with Taxonomy Field Value via REST API not working
Hi all, I am trying to update a list item with taxonomy field value in modern pages from my spfx webpart. I am getting 204 as response and no error but in the background it is not really saving the taxonomy field value but a new version of the item is getting created. Can anyone please help me. I use SPHTTPClient.fetch and the following headers: this._spHttpClient.fetch(itemUpdatedUrl, SPHttpClient.configurations.v1, { body: JSON.stringify(body), method: "PATCH", headers: { 'X-HTTP-Method': 'PATCH', 'IF-MATCH': '*' } } ) Here is the body for my request {"articleDate":"2017-10-27T22:00:00.000Z","scope":{"TermGuid":"e9955332-61bf-42dc-8667-3d560bd8e220","WssId":-1,"Label":"Finance"}} Response: HTTP/1.1 204 No Content Cache-Control: private, max-age=0 Expires: Tue, 26 Sep 2017 12:35:19 GMT Last-Modified: Wed, 11 Oct 2017 12:35:19 GMT ETag: "363" ............................. X-SharePointHealthScore: 0 X-SP-SERVERSTATE: ReadOnly=0 ODATA-VERSION: 4.0 SPClientServiceRequestDuration: 776 SPRequestDuration: 825 X-AspNet-Version: 4.0.30319 SPRequestGuid: b7d9219e-7069-4000-7720-349ae4f21451 request-id: b7d9219e-7069-4000-7720-349ae4f21451 MS-CV: niHZt2lwAEB3IDSa5PIUUQ.0 X-RequestDigest: 0xD0447254BF6CC1554306AFD380E061C10B3142F1251E6ECF604611B78D01E50B9A963965989547F17B6E1992D7A5EE0FBDE311CA841FD6830F19732FF1E650AE,11 Oct 2017 12:35:20 -0000 Strict-Transport-Security: max-age=31536000 X-FRAME-OPTIONS: SAMEORIGIN X-Powered-By: ASP.NET MicrosoftSharePointTeamServices: 16.0.0.6927 X-Content-Type-Options: nosniff X-MS-InvokeApp: 1; RequireReadOnly X-MSEdge-Ref: Ref A: D6975731627C4FC7B51D35A21E797690 Ref B: AMS04EDGE0215 Ref C: 2017-10-11T12:35:20Z Date: Wed, 11 Oct 2017 12:35:20 GMT I also tried with correct eTag but still having the same problem. Any suggestions would be appreciated.1.5KViews0likes0CommentsIs it possible to override savePage method on click Save and Close button from SPFX
I have a modern page with custom spfx webparts. My spfx webparts contains office ui fabric react components such as PeoplePicker and TaxonomyPicker. After user enters the data and clicks save or save and close button, I need to override the event handler for Save event to save the information into the page. My idea is that I should override that Save event handler method so that my webpart callback handler will be called and updates the Page ListItem metadata. I also found onDisplayModeChanged event in the webpart from here, I am not sure how to find if the event is Save and close or Discard Changes. Can anyone please suggest which is the elegant way to do that?1.5KViews0likes1Comment
Recent Blog Articles
No content to show