コミュニティの皆様、<\/P>
<\/P>
私は、パブリックIPを持たない arcGis サーバーのマップを使用する開発者向けに webappbuilder で webApp を実装しました。アプリをダウンロードして会社のウェブサーバーに公開しました。また、ポータルのインストールと両方に web adaptor を構成しています。<\/P>
明らかにこれは動作しません。プライベートな arcGis サーバーの URL への複数の呼び出しがあります <\/SPAN>http:\/\/192.168.xyz.xyz\/arcgis\/<\/A>..... 解決されていません。<\/SPAN><\/P>これをどう修正すればよいでしょうか?<\/P>唯一の解決策は、arcgis パス用にウェブサーバーでプロキシルールを追加することです。そうすれば、ポータルから構築されたマップにレイヤーを追加するときに、<\/SPAN>http\//public address\/arcgis\/... ではなく <\/SPAN>http:\/\/192.168.xyz.xyz\/arcgis\/<\/A>... を使うことができますか?<\/SPAN><\/P><\/P>どうもありがとうございます。<\/P><\/BODY><\/HTML>
どうもありがとうございます。<\/P><\/BODY><\/HTML>
Thanks for the post.
My problem is this: the arcGis server isn't public so, also if I use the machine name, this isn't resolved from a DNS.
When in Portal for arcGis I create a new map I have to put the address of arcGis server, and this is a private address.
Also in WAB, if I have to configure the query widget, I have to put as a data source the private address of arcGis server.
Internally is all ok. When I publish the package builded with WAB on my Apache web server to use the app from Internet and I light on a layer, in the browser I see this call (same behaviour on activate query widget ...):
http://<arcGisServerPrivateAddress>/arcgis/rest/services/<ServiceName>/MapServer/export?dpi=96&transparent=true&format=png32&layers=show%3A0%2C3%2C1&bbox=......
Obviously this doesn't work on Internet. How can you get around this?
Thanks a lot.
tagging Web AppBuilder for ArcGIS Portal for ArcGIS ArcGIS for Server Web AppBuilder Custom Widgets
so your question will get more exposure (and hopefully more answers)
EDIT: btw, I added a section in Web AppBuilder Developer Edition - Customization Resource List with several security and proxy links.
EDIT: have you tried using your machine name instead of the IP?
Also, if you have Portal installed, you may want to us that as your AppID and/or where you develop the webappbuilder app, so it works isolated there instead of needing access to AGOL.
Some specific links that may help:
Setting up a Proxy | Support Services Blog
Internal ONLY Web Map Sharing Issues
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.