Phil,

Thanks for your reply. Yes, I did create the Mapping File between the 
import attempts.

I noticed that in more complicated models, any node that had "Separate 
card" setting on, the import was not successful to bring in the data for 
that node. The above steps were just a simplification of that issue.

Markus

On Thursday, September 17, 2020 at 10:53:45 AM UTC-4 
philip....@historicengland.org.uk wrote:

> Hi Markus,
>
> After you make the change have you re-exported the model and created a new 
> mapping file? I’m not sure if this will solve the problem but I always 
> refresh the model and mapping files whenever I make a change just in case…
>
>  
>
> Phil 
>
>  
>
> *Phil Carlisle*
>
> Knowledge Organization Specialist
>
> Information Analysis
>
> Policy and Evidence Group
>
> Historic England
>
> Direct Dial: +44 (0)1793 414824 <+44%201793%20414824>
>
> Mobile: +44 (0)7768 656427 <+44%207768%20656427>
>
>  
>
> Many Historic England staff are working remotely at the moment and we are 
> doing what we can to maintain our level of response but please bear with us 
> as this may be slower than usual.
>
>  
>
> http://www.heritagedata.org/blog/
>
>  
>
> *From:* arches...@googlegroups.com <arches...@googlegroups.com> *On 
> Behalf Of *Markus S.
> *Sent:* 16 September 2020 22:10
> *To:* Arches Project <arches...@googlegroups.com>
> *Subject:* [Arches] CSV import not working for nodes that use ''Place 
> node(s) in a separate card'
>
>  
>
> THIS IS AN EXTERNAL EMAIL:  do not click any links or open any attachments 
> unless you trust the sender and were expecting the content to be sent to you
>
>  
>
> Hi,
>
>  
>
> I have been experimenting with imports of CSV data to Arches v5. Mostly it 
> has been going well without an issue, and I understand how the process 
> works. However, in more complicated models, certain fields did not seem to 
> be importing at all. The common denominator for these nodes turned out to 
> be that they had ''Place node(s) in a separate card' turned on.
>
>
> Steps to reproduce the issue that I am having:
>
>    1. Create a new Resource Model such as 'TEST' (no ontology needed)
>    2. Edit the 'TEST' model and add a child node called 'Name1' (string)
>    3. Under 'Name1', add child node 'Name2' (string)
>    4. Save the model
>    5. Create a Mapping File for 'TEST' model
>    6. Create a data.csv with content inserted below these bullets
>    7. Use import command such as: python manage.py packages -o 
>    import_business_data -s '/some/folder/data.csv' -c 
>    '/some/folder/TEST.mapping' -ow 'overwrite'
>    8. You should see the new record successfully imported into Arches
>    9. Now delete the instance that was created
>    10. Edit the 'TEST' Resource Model and turn on 'Place node(s) in a 
>    separate card' for 'Name2' node
>    11. Retry the import steps again (actually just re-running the import 
>    command should do)
>    12. The record will be created but *only* 'Name1' will be imported. I 
>    would expect *both *fields to be imported just like before.
>
> CSV file content here:
>
>  
>
> ResourceID,Name1,Name2
> 1,Some name,Some other name
>
>  
>
> I hope somebody has some insight into what I may be doing wrong or how I 
> could get the import to work successfully. Thank you very much!
>
>  
>
> Best regards,
>
>  
>
> Markus
>
> -- 
> -- To post, send email to arches...@googlegroups.com. To unsubscribe, 
> send email to archesprojec...@googlegroups.com. For more information, 
> visit https://groups.google.com/d/forum/archesproject?hl=en
> --- 
> You received this message because you are subscribed to the Google Groups 
> "Arches Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to archesprojec...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/archesproject/5f664f84-2841-4ae6-b07e-ed97faf287fan%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/archesproject/5f664f84-2841-4ae6-b07e-ed97faf287fan%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
>
> [image: Historic England Logo] <http://www.historicengland.org.uk/>
>
> We are the public body that helps people care for, enjoy and celebrate 
> England's spectacular historic environment, from beaches and battlefields 
> to parks and pie shops.
> Follow us:  Facebook <https://www.facebook.com/HistoricEngland>  |  
> Twitter <https://twitter.com/HistoricEngland>  |  Instagram 
> <https://www.instagram.com/historicengland/>     Sign up to our newsletter 
> <http://webmail.historicenglandservices.org.uk/k/Historic-England/historic_england_preference_centre>
>      
>
> This e-mail (and any attachments) is confidential and may contain personal 
> views which are not the views of Historic England unless specifically 
> stated. If you have received it in error, please delete it from your system 
> and notify the sender immediately. Do not use, copy or disclose the 
> information in any way nor act in reliance on it. Any information sent to 
> Historic England may become publicly available. We respect your privacy and 
> the use of your information. Please read our full privacy policy 
> <https://www.historicengland.org.uk/terms/privacy-cookies/> for more 
> information.
>
>
>

-- 
-- To post, send email to archesproject@googlegroups.com. To unsubscribe, send 
email to archesproject+unsubscr...@googlegroups.com. For more information, 
visit https://groups.google.com/d/forum/archesproject?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Arches Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to archesproject+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/archesproject/45a66c42-f1fe-4564-a4cf-0626939249den%40googlegroups.com.

Reply via email to