Forum Discussion
Mike Jansen
Jun 14, 2017Iron Contributor
Sharepoint framework spfx > get weburl
"In the old days" I would use something like: var url = _spPageContextInfo.webServerRelativeUrl; To get the URL of my SharePoint site. Now I try to do the same thing in SPFX like: this.context.pa...
Jun 19, 2017
Hi Mike Jansen,
Why wouldn't you pass the parameters in like you would do with functions?
functionName(parameter1, parameter2, parameter3) {
code to be executed
}Mike Jansen
Jun 19, 2017Iron Contributor
Pieter Veenstra I did that.Must be a problem with my references because it does not seem to find my function.
I'll check my code again. Guess have taken a too complex example for my first project ;-)