<\/HEAD>
Ich arbeite mit einem gehosteten Feature Layer in ArcGIS Online. Ich möchte ein Attribut für ein StartDate haben, das standardmäßig auf das aktuelle Datum gesetzt wird, wenn ein Feature erstellt wird. Dann möchte ich ein Attribut, das ein EndDate ist, und ich möchte, dass das EndDate 180 Tage nach dem StartDate liegt. Das soll der Ausdruck aussagen;<\/P>
<\/P>
var startdate= Date($feature["StartDate"]);<\/SPAN><\/P>var SixMonths= DateAdd($feature["EndDate"], 180, 'days');<\/SPAN><\/P>return SixMonths;<\/SPAN><\/P><\/P>Wie kann ich das EndDate automatisch ausfüllen, wenn das StartDate nicht Null ist?<\/P> <\/SPAN><\/P><\/BODY><\/HTML>