These are chat archives for collectiveaccess/support

12th
Feb 2016
Sami Rahman
@samrahman
Feb 12 2016 00:48
Hi @collectiveaccess / @skeidel , just got a quick ques. If i put "skipIfEmpty" as a option in data import, will it skip the whole line or the specific cell only when the data is empty?
CollectiveAccess
@collectiveaccess
Feb 12 2016 00:48
hi
it will skip only that particular mapping
not the row
There's a whole family of skipIf* options
Sami Rahman
@samrahman
Feb 12 2016 00:50
Just to confirm from this example, it'll import the whole line the empty cell only: 3297 a <empty> "some data"
but the empty cell*
CollectiveAccess
@collectiveaccess
Feb 12 2016 00:51
What do you mean by "cell"?
Sami Rahman
@samrahman
Feb 12 2016 00:51
Excell cell
CollectiveAccess
@collectiveaccess
Feb 12 2016 00:51
You're importing from Excel?
Sami Rahman
@samrahman
Feb 12 2016 00:51
right
CollectiveAccess
@collectiveaccess
Feb 12 2016 00:52
Ok, all skipIfEmpty will do is skip the mapping it applies too if the reference Excell cell is empty
That's it... it won't try to process the value
If you want to skip an entire row if a cell is empty use skipRowIfEmpty
Sami Rahman
@samrahman
Feb 12 2016 00:52
that's great, thanks for the confirmation
CollectiveAccess
@collectiveaccess
Feb 12 2016 00:52
What time is it by you?
Sami Rahman
@samrahman
Feb 12 2016 00:53
It's 11:20 am
CollectiveAccess
@collectiveaccess
Feb 12 2016 00:53
argh
I guess we'll be doing this evening/morning thing until your project is done :-)
Sami Rahman
@samrahman
Feb 12 2016 00:54
I guess so :-D. Is it 8 pm there?
CollectiveAccess
@collectiveaccess
Feb 12 2016 00:54
yup
time to go to sleep
Sami Rahman
@samrahman
Feb 12 2016 00:55
oh, I thought you guys fixes bugs at night :-D
CollectiveAccess
@collectiveaccess
Feb 12 2016 00:55
pretty much 20 hours a day
but those 4 gap hours are in your work day
Sami Rahman
@samrahman
Feb 12 2016 00:56
right. We're just the location tracking left. Then the data import will be over
not sure what is waiting with pawtucket though ;)
CollectiveAccess
@collectiveaccess
Feb 12 2016 00:56
ok we can talk about that whenever you're ready go deal with that rabbithole
Pawtucket is easy to set up, but never ending woe to customize because one you get going everyone has an opinion
It's a political problem, not a technical one
Sami Rahman
@samrahman
Feb 12 2016 00:58
I'm a bit confused about to choose movement based or work-flow location tracking
CollectiveAccess
@collectiveaccess
Feb 12 2016 00:58
It depends upon how your collection works
Movement based is quite labor intensive
CollectiveAccess
@collectiveaccess
Feb 12 2016 00:58
Art museums and museums with chain of custody requirements do that
but I would not recommend it unless you know you need it
Sami Rahman
@samrahman
Feb 12 2016 00:59
you can see the screenshots to see the requirements
CollectiveAccess
@collectiveaccess
Feb 12 2016 00:59
ok let me take a look
you still have a good 5 1/2 hours to go today, right?
Sami Rahman
@samrahman
Feb 12 2016 00:59
basically If I move a whole container, would the direct tracking will work for me?
right, I'll be online
CollectiveAccess
@collectiveaccess
Feb 12 2016 01:03
if you move a storage location container everything in it will move too
with direct tracking
all it is are object-location relationships where it keeps track of the most recent one and displays it differently that previous ones
Sami Rahman
@samrahman
Feb 12 2016 01:06
My idea was, I've to create a record in ca_movements table (i.e. Movement-Editor), not the ObjectEditor's Movement screen
But with movement-editor, it doesn't work
if I've a movement record in object editor's movement screen, it works fine. When I'll move a whole container, I'd like to use the movement editor instead
CollectiveAccess
@collectiveaccess
Feb 12 2016 01:22
movement-based tracking is designed to work with movement-quickadds in the object record
we have a big installation that uses it a lot
if you change the storage location in the movement editor it should work fine though
what happens that is wrong?
Sami Rahman
@samrahman
Feb 12 2016 01:23
it doesn't produce any object location. It says "No location set"
CollectiveAccess
@collectiveaccess
Feb 12 2016 01:24
when you do what exactly?
Sami Rahman
@samrahman
Feb 12 2016 01:24
If you move a container which have 50 artworks for example, people will want to enlist in 1 movement record (i.e. Movement editor)
CollectiveAccess
@collectiveaccess
Feb 12 2016 01:24
and you're moving the container in the storage location editor?
Sami Rahman
@samrahman
Feb 12 2016 01:25

This is my config:

object_storage_location_tracking_relationship_type = storage_loc

movement_storage_location_tracking_relationship_type = related
movement_object_tracking_relationship_type = part
record_movement_information_when_moving_storage_location = 1
movement_storage_location_date_element = removal_date

CollectiveAccess
@collectiveaccess
Feb 12 2016 01:25
ok
Sami Rahman
@samrahman
Feb 12 2016 01:25
Nope, I've storage location in Movement screen
CollectiveAccess
@collectiveaccess
Feb 12 2016 01:25
what I'm asking is what, precisely, are you referring to when you write "container"
ok
and what bundle says "no location set"
'cause I'm guessing you have that bundle set to use object-location tracking rather than object-movement
Sami Rahman
@samrahman
Feb 12 2016 01:27
oh I meant container is something like a big basket having artworks/books
CollectiveAccess
@collectiveaccess
Feb 12 2016 01:28
it is represented by an object record, or a storage location record ?
Sami Rahman
@samrahman
Feb 12 2016 01:28
Nope I tried with setting Movement
object record
CollectiveAccess
@collectiveaccess
Feb 12 2016 01:28
so container is a movement?
Sami Rahman
@samrahman
Feb 12 2016 01:28
yes
do I have a make a set/collection to move together?
CollectiveAccess
@collectiveaccess
Feb 12 2016 01:29
well the idea is that a movement represents a single instance of one or more objects being moved
Sami Rahman
@samrahman
Feb 12 2016 01:29
my idea was, as I'm putting all those in movement editor, those are in one big basket moving to a new location
CollectiveAccess
@collectiveaccess
Feb 12 2016 01:29
for instance a museum might ship 10 item to another museum
Sami Rahman
@samrahman
Feb 12 2016 01:30
right
CollectiveAccess
@collectiveaccess
Feb 12 2016 01:30
The movement represents the shipment, with 10 object relationships
Sami Rahman
@samrahman
Feb 12 2016 01:30
right
CollectiveAccess
@collectiveaccess
Feb 12 2016 01:30
it's not a "container" in the sense that it is not intended to hold the objects. It's not a location
it's an event in time really
and it's an event that for some types of museums has a bunch of documentation and legal requirements
Sami Rahman
@samrahman
Feb 12 2016 01:32
I see. How would you handle this to enable the location tracking? Would you enlist the 10 items in movement editor together? Or every single through object editor's movement screen?
CollectiveAccess
@collectiveaccess
Feb 12 2016 01:33
For you requirements, which involve some extra metadata it might make sense to do movement-based
Sami Rahman
@samrahman
Feb 12 2016 01:33
Because if you use the object editor, on subsequent move for the same object, the "removal date" is lost
CollectiveAccess
@collectiveaccess
Feb 12 2016 01:34
but just set up a movement UI with the fields; then configure the location tracking bundle taking care to set it to use movement-based
you won't lose the date if you have separate movement records for each
and you can configure display templates for the history to show any of the movement fields you need
if you want to send me a tarball of your install with a current db dump and all of the config files I can set up a demo for you
and if you like it you can take it and work from it.
I have to run in a little bit
Sami Rahman
@samrahman
Feb 12 2016 01:36
I can surely do that! Thanks Seth !
No problem, I'll send you the tar today evening Australia time, & will follow-up with you Monday
CollectiveAccess
@collectiveaccess
Feb 12 2016 01:37
ok talk to you later
Sami Rahman
@samrahman
Feb 12 2016 01:37
Have a good night & good weekend
mebays
@mebays
Feb 12 2016 15:39
Out of curiosity with providence updated to be compatible with PHP 7 is there work being done or work that has been done on pawtucket to be PHP 7 compatible?
PMassoels
@PMassoels
Feb 12 2016 15:40
Hi all.
CollectiveAccess
@collectiveaccess
Feb 12 2016 15:40
hello
PMassoels
@PMassoels
Feb 12 2016 15:40
I have a problem uploading images with the api.
CollectiveAccess
@collectiveaccess
Feb 12 2016 15:40
Regarding PHP7 we have it working
PMassoels
@PMassoels
Feb 12 2016 15:41
Is it possible to do this?
CollectiveAccess
@collectiveaccess
Feb 12 2016 15:41
for Providence and there is a branch for Pawtucket2 that works, and will be merged as soon as I can find the time to do a bit more testing
Regarding the API, Stefan is the keep of that code. I've never tried uploading images myself.
mebays
@mebays
Feb 12 2016 15:43
ok sounds great thanks
CollectiveAccess
@collectiveaccess
Feb 12 2016 15:43
So just to be clear on PHP7 (I'm not feeling very clear today): the current release of Providence works with it
and we've not seen any problems on those installations using it
PMassoels
@PMassoels
Feb 12 2016 15:43
There is a query option to see what the format should be.
CollectiveAccess
@collectiveaccess
Feb 12 2016 15:43
Pawtucket2 will work with it soon; we're just testing
PMassoels
@PMassoels
Feb 12 2016 15:43
But in the image field just displays html code
CollectiveAccess
@collectiveaccess
Feb 12 2016 15:44
It's probably just doing a get() on the value
how are you associating media with entities?
via related representations or a media attribute?
PMassoels
@PMassoels
Feb 12 2016 15:45
a media attribute
i tried with a file but this gives me the same problem
CollectiveAccess
@collectiveaccess
Feb 12 2016 15:46
ah ok, I believe that is not possible, but I'd have to take a look to be sure
Stefan maintains that, and he's not around today
PMassoels
@PMassoels
Feb 12 2016 15:47
Ok thanks
one more question
i'm trying to add multiple lots to an object
but this does not seem to be possible
is there a setting i'm missing?
CollectiveAccess
@collectiveaccess
Feb 12 2016 15:53
I just answered on the forum
You can only have a single lot for an object. This is by design.
In a museum context an object can, by definition, belong to one and only one lot (or "accession")
If you want to have multiple "lots" they're not lots in the sense that CA defines them. In that case consider using typed occurrences.
PMassoels
@PMassoels
Feb 12 2016 15:57
The problem is we are not working in a museological context but in an archival context. One archive can contain several lots. We don't link every archival object to one lot but we link on the highest level of the archive itself.
Thanks for the fast respons :)
CollectiveAccess
@collectiveaccess
Feb 12 2016 15:58
No, every object is still part of a single lot, even in an archival context
lots are another name for accession events
An object should only be accessioned once.
If you're using lots in the way you describe, they might be better modeled as collections
PMassoels
@PMassoels
Feb 12 2016 16:03
of course one document can only be linked to one accession event, but according to ISAD(G) you describe top down, in hierarchical levels. In our case, we don't link every single document to 1 accession. We take the top level of the hierarchical tree (wich contains the object description of the archive as a whole), and link this record to all the object lots that were included in the archive.
CollectiveAccess
@collectiveaccess
Feb 12 2016 16:05
Use a collection record to describe the upper hierarchical levels
object records are for item level cataloguing
collection records can be arranged hierarchically then the item-level object records shown as a bottom most level (where they are defined)
PMassoels
@PMassoels
Feb 12 2016 16:07
then why is a location hierarchy field included?
CollectiveAccess
@collectiveaccess
Feb 12 2016 16:08
what are you referring to?
Stefan
@stefankeidel
Feb 12 2016 21:25
Hi @PMassoels -- I just replied to your forum thread. Give it a shot and let me know if it works
If it doesn't, we can and should fix that