Using a GP service in ExB

649
5
Jump to solution
04-30-2021 11:21 AM
Labels (1)
AzinSharaf
Occasional Contributor II

Hi, Is there any plan to add the ability of using a GP service in ExB (dev edition)?

 

0 Kudos
1 Solution

Accepted Solutions
DavidMartinez
Esri Regular Contributor

Ok, I just wasn't sure. We have plans to add one, I am just not sure when. Perhaps @Jianxia can comment more on this. Another option is to go the custom widget route for instance, 

loadArcGISJSAPIModules([
"esri/tasks/Geoprocessor"
]).then((modules) => {
[this.Geoprocessor] = modules;
this.setState({
gpRunning: true
})

const gpUrl = "";
const gp = new this.Geoprocessor({
url: gpUrl
});
 
Cheers,
 
David 

View solution in original post

5 Replies
DavidMartinez
Esri Regular Contributor

Hi Azin,

Are you referring to an out-of-the-box GP widget or a custom one? 

 

David

0 Kudos
AzinSharaf
Occasional Contributor II

do we have a GP widget in Exb? I need something similar to GP widget in WAB which I can use the URL of a custom GP service in it and use it in the application.

0 Kudos
DavidMartinez
Esri Regular Contributor

Ok, I just wasn't sure. We have plans to add one, I am just not sure when. Perhaps @Jianxia can comment more on this. Another option is to go the custom widget route for instance, 

loadArcGISJSAPIModules([
"esri/tasks/Geoprocessor"
]).then((modules) => {
[this.Geoprocessor] = modules;
this.setState({
gpRunning: true
})

const gpUrl = "";
const gp = new this.Geoprocessor({
url: gpUrl
});
 
Cheers,
 
David 
Jianxia
Esri Regular Contributor

@AzinSharaf  The GP widget is on the roadmap of Experience Builder. It would not be available in 2021 though. 

AzinSharaf
Occasional Contributor II

thank you @Jianxia for the information.

0 Kudos