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://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]] 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/
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, 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]<mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.

[Historic England Logo]<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]. 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.

Reply via email to