Darcy, Importing graphs that have already configured the function should not require any additional effort on your part.
FYI, we’re finishing up a command that will let you import a “package” that includes graphs, cards, menu, relationships, basemaps, overlays (all fully configured), along with functions and (optionally) thesauri. This should make importing a full Arches application a one command operation. -Dennis > On Nov 14, 2017, at 6:20 PM, Darcy Christ <[email protected]> wrote: > > Hi Dennis, > > Thank you for the quick response. That is great about the re-index function. > > I think my issue was trying to get a test system set up as a way to explore > the system. It certainly seems strange that I can pre-populate the HIP > resources, but that they are not fully set up to show working information. No > sure if there is a way to import the functions along with the resource graphs: > > python manage.py packages -o import_graphs > python manage.py packages -o python manage.py packages -o > import_reference_data -s arches/db/schemes/arches_concept_scheme.rdf -ow > overwrite -st keep > python manage.py packages -o python manage.py packages -o > import_reference_data -s arches/db/schemes/arches_concept_collections.rdf -ow > overwrite -st keep > > > Regards, > Darcy > > > Darcy W. Christ > Digital Generalist > @1000camels > > > >> On Nov 15, 2017, at 11:16 AM, Dennis Wuthrich <[email protected] >> <mailto:[email protected]>> wrote: >> >> Darcy, >> >> To update all records, just press the re-index button in the function. >> >> As to your question about “a better default”: Arches allows you to define >> your resource models dynamically, so it doesn’t know which nodes you want to >> use for populating the search and map popups. >> >> Once you’ve configured the function and saved the resource model, all >> subsequent users of you model will automatically use the defaults you define. >> >> >> -Dennis >> >> >> >> >>> On Nov 14, 2017, at 6:10 PM, Darcy Christ <[email protected] >>> <mailto:[email protected]>> wrote: >>> >>> Thank you, Philip. Your instructions were very helpful. >>> >>> I am confused about a few things: >>> >>> Does this change only affects new records? If so, how can I fix >>> existing records? >>> >>> Why wouldn’t the system, and perhaps I mean the example HIP Resources >>> which I imported, have a better default established? >>> >>> >>> >>> >>> Regards, >>> Darcy >>> >>> >>> Darcy W. Christ >>> Digital Generalist >>> @1000camels >>> >>> >>> >>>> On Nov 14, 2017, at 8:56 PM, Carlisle, Philip >>>> <[email protected] >>>> <mailto:[email protected]>> wrote: >>>> >>>> Hi Darcy, >>>> I’ve had a go at creating a resource and as you say it came back with >>>> undefined resource. >>>> >>>> However I think I’ve solved the problem. >>>> >>>> For each model you need to modify the Define Resource Descriptors Function >>>> to select the node which you would like to display, in this case <Name> >>>> >>>> You can easily identify those resource models which have this function >>>> already set up by adding a new resource. >>>> >>>> If in the top left it says Resource Editor – undefined resource it hasn’t >>>> been done. >>>> >>>> If it has been done it will show something like Resource Editor - <Name> >>>> (where the name of the node selected for display is in <>) >>>> >>>> Here’s the workflow to add the node >>>> 1. In Arches Designer select the resource model you want to add the >>>> function to and from the ‘Manage…’ dropdown select </> Functions >>>> 2. From the Function library select ‘</> Define Resource Descriptors’ >>>> – The Define Resource Descriptors card will open. >>>> 3. In the Card Name field use the dropdown to select the card which >>>> contains the node you wish to display (in this case Name) – the Primary >>>> Name Template field will auto populate with a suggestion (something like >>>> <Name Type>, <Name>) >>>> 4. Click in the Primary Name Template field and modify it until it >>>> meets your requirement. >>>> 5. Save the edits and next time you add a resource it should show >>>> “Resource Editor - <Name>” >>>> >>>> Once you’ve added the function it will appear in the menu on the left of >>>> the Function Manager Card >>>> >>>> I added added the function for the Heritage Resource Model and I also >>>> added a report for Heritage Resource Group Resource Model as I created a >>>> new resource but it didn’t show up. >>>> >>>> The records I created are Testrecord (Heritage Resource Group) and >>>> PhilTestRecord (Heritage Resource) >>>> >>>> I hope this helps and that I’ve not misunderstood you again. >>>> >>>> Phil >>>> >>>> >>>> Phil Carlisle >>>> Knowledge Organization Specialist >>>> Listing Group, Historic England >>>> Direct Dial: +44 (0)1793 414824 >>>> >>>> http://thesaurus.historicengland.org.uk/ >>>> <http://thesaurus.historicengland.org.uk/> >>>> http://www.heritagedata.org/blog/ <http://www.heritagedata.org/blog/> >>>> >>>> Listing Information Services fosters an environment where colleagues are >>>> valued for their skills and knowledge, and where communication, customer >>>> focus and working in partnership are at the heart of everything we do. >>>> >>>> >>>> From: [email protected] >>>> <mailto:[email protected]> >>>> [mailto:[email protected] >>>> <mailto:[email protected]>] On Behalf Of Darcy Christ >>>> Sent: 14 November 2017 05:40 >>>> To: Arches Project >>>> Subject: [Arches] undefined Resources >>>> >>>> Hi, >>>> >>>> I continue to struggle with getting a proper installation of Arches v4 >>>> running. I have been focused on getting the system up and for planning on >>>> building a migration path from v3. However, now I am faced with a very >>>> fundamental issue. When I try to create a resource, and add a name, the >>>> resource comes out as undefined. This is the same on a linux and mac os x >>>> install. It is the same on a version of 4.01 installed via pip and a >>>> version installed by git clone and install from the developer >>>> documentation. >>>> >>>> I am running a complete reinstall each time. >>>> >>>> I am also add sample data, either just the first 3 lines or all of them. >>>> >>>> >>>> python manage.py packages -o import_reference_data -s >>>> arches/db/schemes/arches_concept_scheme.rdf -ow overwrite -st keep >>>> python manage.py packages -o import_reference_data -s >>>> arches/db/schemes/arches_concept_collections.rdf -ow overwrite -st keep >>>> python manage.py packages -o import_graphs >>>> python manage.py packages -o import_business_data -s >>>> tests/fixtures/data/csv/heritage_resource_model.csv -ow overwrite >>>> python manage.py packages -o add_tileserver_layer -m >>>> arches/tileserver/world.xml -n world_basemap -b >>>> python manage.py packages -o add_tileserver_layer -m >>>> arches/tileserver/hillshade.xml -n hillshade >>>> >>>> You can see one of my installs here: http://heritage.hku.hk/hongkong_v4/ >>>> <http://heritage.hku.hk/hongkong_v4/> >>>> It still has the default password if anyone wants to confirm the >>>> behaviour. Just try to create a Resource, and give it a name. >>>> >>>> Any help is appreciated/ >>>> >>>> >>>> Regards, >>>> Darcy >>>> -- >>>> -- To post, send email to [email protected] >>>> <mailto:[email protected]>. To unsubscribe, send email to >>>> [email protected] >>>> <mailto:[email protected]>. For more information, >>>> visithttps://groups.google.com/d/forum/archesproject?hl=en >>>> <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 [email protected] >>>> <mailto:[email protected]>. >>>> For more options, visit https://groups.google.com/d/optout >>>> <https://groups.google.com/d/optout>. >>>> >>>> >>>> <image8eb173.JPG> <http://www.historicengland.org.uk/> >>>> >>>> We help people understand, enjoy and value the historic environment, and >>>> protect it for the future. Historic England <http://bit.ly/1OuxROd> is a >>>> public body, and we champion everyone’s heritage, across England. >>>> 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://bit.ly/1p49z1e> >>>> >>>> >>>> >>>> >>>> Help us create a list of the 100 places which tell England's remarkable >>>> story and its impact on the world. A History of England in 100 Places >>>> <https://historicengland.org.uk/100places> sponsored by Ecclesiastical >>>> <http://www.ecclesiastical.com/fororganisations/insurance/heritageinsurance/100-places/index.aspx>. >>>> >>>> >>>> >>>> >>>> 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. >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> -- >>>> -- To post, send email to [email protected] >>>> <mailto:[email protected]>. To unsubscribe, send email to >>>> [email protected] >>>> <mailto:[email protected]>. For more information, >>>> visit https://groups.google.com/d/forum/archesproject?hl=en >>>> <https://groups.google.com/d/forum/archesproject?hl=en> >>>> --- >>>> You received this message because you are subscribed to a topic in the >>>> Google Groups "Arches Project" group. >>>> To unsubscribe from this topic, visit >>>> https://groups.google.com/d/topic/archesproject/zrG_hBA17yE/unsubscribe >>>> <https://groups.google.com/d/topic/archesproject/zrG_hBA17yE/unsubscribe>. >>>> To unsubscribe from this group and all its topics, send an email to >>>> [email protected] >>>> <mailto:[email protected]>. >>>> For more options, visit https://groups.google.com/d/optout >>>> <https://groups.google.com/d/optout>. >>> >>> >>> -- >>> -- To post, send email to [email protected] >>> <mailto:[email protected]>. To unsubscribe, send email to >>> [email protected] >>> <mailto:[email protected]>. For more information, >>> visit https://groups.google.com/d/forum/archesproject?hl=en >>> <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 [email protected] >>> <mailto:[email protected]>. >>> For more options, visit https://groups.google.com/d/optout >>> <https://groups.google.com/d/optout>. > -- -- To post, send email to [email protected]. To unsubscribe, send email to [email protected]. 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
