I am using the Views XML Backend 7.x-1.0-alpha4 and I was happy to see that there was a way of indicating that a field was multi-valued. Flagging Views XML Backend field as a multi-valued field

However, I was disappointed to see that flagging a field doesn't seem to really do anything. The field is still un-parsed and is displayed that way.Multi-valued field is un-parsed

Is there a purpose I am missing of flagging a field as multi-purposed if the field is not going to parse or explode the list into an array within the array?

My ultimate goal is to be able to output the image numbers as images and either select one particular image to display or loop through the output of them all.
Displaying list of un-parsed image number list

Am I missing something? Is there better documentation of this module somewhere?

Is the development version of this module more advanced?

  • Is this issue fixed the development issue?
  • I would like the end user to be able to search or filter the result set. Is that supported in the dev version?
  • I would also like to be able to allow the end user to change the start (offset) and limit numbers in the XML API by passing these parameters to the API from the view.

I am also attaching a sample of my XML API in text format.

Comments

kochertj’s picture

StatusFileSize
new5.4 KB

I am also attaching an export of the view code.

twistor’s picture

Title: Multi-valued field not being parsed » Add separator option for fields.
Version: 7.x-1.0-alpha4 » 7.x-1.x-dev
Category: Support request » Feature request

The multi-valued option isn't for parsing, but rather, to allow an XPath query to return multiple values.

The problem you're seeing is really that your XML is broken. Multiple values should be in multiple XML elements.

That said, we could add this option.

I would like the end user to be able to search or filter the result set. Is that supported in the dev version?

Filters should be working already.

I would also like to be able to allow the end user to change the start (offset) and limit numbers in the XML API by passing these parameters to the API from the view.

Wouldn't adding a pager work for this?

schoenef’s picture

Status: Active » Closed (won't fix)

Please open a new issue for the 2.0 version, if this is still an issue.