Skip to main content

Timeline for spfx webpart react rest api

Current License: CC BY-SA 4.0

16 events
when toggle format what by license comment
Sep 11, 2019 at 8:59 comment added kumar Thank you Mike,i will make a note of this for future questions
Sep 11, 2019 at 8:53 comment added Mikel Nice! you see that is better to add more code than just a line :P. I wouldn't use ajax with react but that is up to you and offtopic
Sep 11, 2019 at 8:49 vote accept kumar
Sep 11, 2019 at 8:43 comment added kumar Thank you it worked
Sep 11, 2019 at 8:19 comment added Ganesh Sanap - MVP Try using ${reactHandler.props.siteurl} instead of ${this.props.siteurl}.
Sep 11, 2019 at 8:10 comment added kumar added complete code
Sep 11, 2019 at 8:10 history edited kumar CC BY-SA 4.0
added complete code
Sep 11, 2019 at 7:58 comment added Mikel Can you show the component class or the function declaration? I mean, is like this: function Welcome(props) { or like this class Welcome extends Component? because if is function component, is not this.props.siteurl. Is props.siteurl
Sep 11, 2019 at 7:36 history edited kumar CC BY-SA 4.0
added 2416 characters in body
Sep 11, 2019 at 6:21 comment added Mikel a lot of code is missing here. If as you say, "this" is not working, you should show the component or at least, say if is a react function component or class. Show that at least....
Sep 11, 2019 at 5:53 comment added harshal gite please post the complete function.
Sep 11, 2019 at 4:54 comment added kumar yes variable name is a
Sep 11, 2019 at 4:23 answer added Ganesh Sanap - MVP timeline score: 1
Sep 11, 2019 at 4:21 comment added Ganesh Sanap - MVP Is you variable name is a?
Sep 11, 2019 at 4:21 history edited Ganesh Sanap - MVP CC BY-SA 4.0
added 8 characters in body; edited tags
Sep 11, 2019 at 4:17 history asked kumar CC BY-SA 4.0