HTMLを生成するArcadeの属性式を使っています。 すべて適切な形式で返しているつもりですが、HTMLとして解釈されません。 何を見落としているのでしょうか?
Instead of using single quotes, use the back ticks. This is the template literal which allows you to use the "${}" placeholders.
return { type : "text", text : `<p>${fact_report}<br><a href="${fact_url}">Click to learn more</a></p>` }
Instead of using that script in your Text element, you'll have to use an Arcade element to properly render that clickable link. You'll have everything above that in your Text element, the Arcade element for the link, then another Text element for the "Record last processed" information.
Ahhh! I didn't even see that as an option! However, I can't seem to get the variables returned.
fact_report & fact_url are variables upstream. Is something missing in the return syntax?
return {
ログインすると、投稿したり、更新をフォローしたりできます。初めてですか?無料アカウントを登録しましょう。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.