I'm a bit of a newbie to CSV datasources and I seem to be not having any luck creating the shadow assets in the system. There are no spaces in the CSV file and I'm getting the following matrix warning
(/core/include/asset.inc:3612) - Attribute "short" not found for Asset "data_source_record_set" [SYS0094]
[2014-10-14 09:58:41]
The asset map loads like there is children underneath - but there is none.
You setting, Source variable name: start_time, what the Source variable type? I'd like to know if it's a GET or POST or something.
Also what version of Matrix are you using?
Ash
Hey Ash,
no need to apologies - your helping me - it's appreciated!
I'm trying anything that sticks!
I'm listing Data Source Record Set
on the asset list
Parameter Source Array of specific asset IDs or selection group (specified assets must be children of the static related node) GET Variable Name start_time_value
So, if I understand the implementation correctly, your form is submitting and the value in form is what you want your results to be filtered by?
Without seeing the actual implementation it's a bit difficult for me to visualise but I have a feeling you should be using POST instead of get.
Also on the landing page (after the form is submitted), can you place %globals_get_blah% and %globals_post_blah% keywords (where blah needs to be replaced by the index you are posting to. I think it is 'start_time') to see if they they are getting printed and if yes what's the value for it.
So, if I understand the implementation correctly, your form is submitting and the value in form is what you want your results to be filtered by?
Without seeing the actual implementation it's a bit difficult for me to visualise but I have a feeling you should be using POST instead of get.
Also on the landing page (after the form is submitted), can you place %globals_get_blah% and %globals_post_blah% keywords (where blah needs to be replaced by the index you are posting to. I think it is 'start_time') to see if they they are getting printed and if yes what's the value for it.
Ash
Hey Ash yep that's correct.
The form is submitting but it returns everything. Even if I put a random word in the form that I know is not even in the data source it returns all results.
I did place
%globals_get_start_time% %globals_post_start_time% in the body copy of my asset list ( under my table) and it did return the value that I placed in the form - but doesn't filter any values.
Okie I am getting to understand set up now. So is the db data source nested within something?
What is it nested within?
Also if nesting, what is the configuration set up there? can paste a screen shot of the nesting container ?
On Asset listing, apart from general set up about the root node, asset to list and stuff, are you doing something dynamic there?
I'm asking because the "Parameter Source Replacement Root node for the listing (must be a child of the static root node) GET Variable Name start_time_value" error is likely coming from "Dynamic Parameters" of asset lsiting (detaisl screen).
From what I understand the setup is similar to the other topic yu refered to.
Somehow the set isn't working for you.
On the nesting container within standard page, are you passing the variables/value to asset listing?
You can add keywords to pass to asset listing page via 'Send the following additional GET variables to the asset'. But on Data source if you are using %globals_get/post_*% keyword then you won't need to do this.
Let's try something different. Can you set the Data source to filter by something else, say 'presenter' and test the set up?
I am having a feeling the issue may be because of the way time string is passed to Matrix for global get/post keywords which only allows the following list of characters on 4.10.x version:
Looks like there is something silly going on in here.
If the csv document isn't too classified, feel free to email it to me and I can try to set it u muself on a 4.10.x system and see what's happening.
Also, if it suits, it looks like you are Squiz Client. I'd suggest you raise a support ticket request. This will help you get one of the Squiz's technical consultant on your case.