I'm trying to add a new item to ArcGIS Online with predetermined item json. I thought I could do this by referring to my json file in the `data` value, so something like :
gis<SPAN class="punctuation token">.</SPAN>content<SPAN class="punctuation token">.</SPAN>add<SPAN class="punctuation token">(</SPAN>item_properties<SPAN class="punctuation token">,</SPAN> data<SPAN class="operator token">=</SPAN><SPAN class="string token">'/Users/cour7816/data.json'</SPAN><SPAN class="punctuation token">)</SPAN><SPAN class="line-numbers-rows"><SPAN></SPAN></SPAN>
That's not working for me. I've also tried using another item's URL for data - no dice.
Is there another way to achieve this?