LAE

Welcome to the LAE community!  Please feel free to start a discussion in the discussion tab or join in a conversation.

Discussions

Members

Resources

Events

 View Only
  • 1.  Field Order Index

    Employee
    Posted 08-11-2014 03:24

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: PLD

    Hi,

    I would like to know if there is a way to specify the field order index when emitting from a node. Let's say that I have 20 fields in a random order and I would like sort my three first output fields in a specific order. Example: Company, Address, Contact ....

    Something looking like this:

    FieldIndex(Company)=1
    FieldIndex(Address)=2
    FieldIndex(Contact)=3
    emit *

    Thanks


  • 2.  RE: Field Order Index

    Employee
    Posted 08-11-2014 07:30

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: stonysmith

    You can do this:

    #specify fields in a certain order
    emit Company
    emit Address
    emit Contact
    #emit all other fields, but without specifying any certain order
    default emit *


  • 3.  RE: Field Order Index

    Employee
    Posted 08-11-2014 08:09

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: PLD

    "default" is what I was missing, now it works just fine

    Many Thanks stonysmith