Timeline for spfx webpart react rest api
Current License: CC BY-SA 4.0
15 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 11, 2019 at 8:50 | comment | added | kumar | Done many thanks for this | |
Sep 11, 2019 at 8:49 | vote | accept | kumar | ||
Sep 11, 2019 at 8:45 | comment | added | Ganesh Sanap - MVP | Welcome, please upvote and accept it as an answer. | |
Sep 11, 2019 at 8:43 | comment | added | kumar | Thank you its working | |
Sep 11, 2019 at 8:17 | history | edited | Ganesh Sanap - MVP | CC BY-SA 4.0 |
added 97 characters in body
|
Sep 11, 2019 at 8:16 | comment | added | Ganesh Sanap - MVP |
Instead of {this.props.siteurl} , try using {reactHandler.props.siteurl} .
|
|
Sep 11, 2019 at 7:37 | comment | added | kumar | added a code function i am using the same one to get variable a and current user name | |
Sep 11, 2019 at 5:42 | comment | added | Ganesh Sanap - MVP |
You can try to debugging, what are you getting in this ??
|
|
Sep 11, 2019 at 5:30 | comment | added | Ganesh Sanap - MVP | Yes, But are you using it in same webpart(code file?)? Can you please add your complete code/function? | |
Sep 11, 2019 at 5:24 | comment | added | kumar | yes i am using the same one to get current user email | |
Sep 11, 2019 at 5:23 | comment | added | Ganesh Sanap - MVP | Are you using second(working) URL in same SPFx webpart? | |
Sep 11, 2019 at 4:51 | comment | added | kumar |
url:${this.props.siteurl}/_api/web/currentuser , working url:${this.props.siteurl}/_api/web/lists/getbytitle('UserList')/items?$select=UserName/EMail,UserType&$filter=UserName/EMail eq '${currentuser}' &$expand=UserName , Uncaught TypeError: Cannot read property 'props' of undefined
|
|
Sep 11, 2019 at 4:50 | comment | added | kumar | i tried it but not working throwing error Uncaught TypeError: Cannot read property 'props' of undefined | |
Sep 11, 2019 at 4:39 | comment | added | Ganesh Sanap - MVP | Have you tried this? Is it working for you? | |
Sep 11, 2019 at 4:23 | history | answered | Ganesh Sanap - MVP | CC BY-SA 4.0 |