<\/HEAD>
私たちの組織では、私たちが設計したwebmapを使用しており、ArcGISポータルのEsri機能を使ってポータルのwebmapをオープンソースのwebmapに読み込んでいます。以下のコードを使ってその機能を読み取っています。<\/P>
必要なのは、Esri Editor Widgetを使って編集を開始するときに属性を自動入力することです。<\/P>
どなたか、どうすればそれができるかアドバイスをいただけますか?<\/P>
編集を開始してポリゴンを描画するときに、私が設計したwebmapからいくつかの情報をポリゴンの属性に自動入力したいです。<\/P>
<\/P>
loadModules([
'esri\/config',
'esri\/identity\/OAuthInfo',
'esri\/identity\/IdentityManager',
'esri\/layers\/FeatureLayer',
'esri\/tasks\/support\/Query',
'esri\/tasks\/Locator',
'esri\/WebMap',
'esri\/views\/MapView',
'esri\/widgets\/Home',
'esri\/widgets\/Editor',
]).then(([esriConfig, OAuthInfo, esriId, FeatureLayer, Query, Locator, WebMap, MapView, Home, Editor]) => {
esriConfig.portalUrl = config.portalUrl;<\/P>
<\/P>
ありがとうございます<\/P><\/BODY><\/HTML>