Jump to content

This topic is 7563 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hi,

Using CDML on the URI to return XML, I would like to know if it is possible within CDML to do a find and sort the results by a Value List rather than a normal sort field (-sortfield).

This is available in the FileMaker client of course but I cannot find out if it is available as part of CDML. Otherwise, will I have to move the VL out into its own table and add a sort order numeric field to this new table (file)?

Any ideas?

Thanks,

Joseppi.

Posted

I think I need to use the -sortOrder flag after -sortField and stipulate Custom and the VL I wish to sort by.

I'm in the process of trying to get it working.

CDML eh eh eh.

Cheers,

Joseppic.

Posted

I got it working, the URI just needs the following added:

-SortOrder=custom=<your VL name>

-SortField=<the field to be sorted on>

Now things come out in the right order.

Have good days.

Joseppic.

This topic is 7563 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.