Question on filtering of commas

Sorry for the newbie questions.

I have a simple questions where people can respond
What flavour of ice cream do you want? and they can select mutiple ones
< select multiple size = "12" name = "ice" >
< option value = "Vanilla" selected > vanilla
< option value = "choco" selected > Choco
< option value = "mango" selected > mango
< option value = "coffe" selected > coffe
< option value = "fudge" selected > fudge
< / select >

Now the data stored as a delemeted by commas, for example, vanilla, chocolate, caramel

I need to allow users to change their choice if they want to.
So when I interrogate the field from the database the value returned as above (delemeted by commas).
I can add a CFloop to return each on one line.
Now my question is how can I let people see what they chose before and the form where they can change their choice. When I added the loop and cfif statement, I get repeated a few times selections.
If I want to have the adverse selection above with the option SELECTED if the user chose this before flavor.

Once, I did not program in the course of the years and very rusty with this.
Any help is appreciated.

Andy99 wrote:
>
> #ListFind (ice, ",") #.
>

This isn't a function to find the complete list. He finished at least not enough
to do what you want. I suspect she's trying to find a value of
by commas. I'm expecting something that looked like this.

#listFind (mydb.ice, "chocolate") #.

OR if you want to be complete.

#listFind (mydb.ice, "chocolate", ",") #.

And then your select code should look like this.

Tags: ColdFusion

Similar Questions

  • question about filters again

    Several filters come with my sx500 the one i put on was the UV lamp and only because I wanted to protect the original goal. Now I'm wondering if since I had to use an adapter to connect the UV filter that it cannot be a good thing. Any comments?

    Hi Nan156,

    Thank you for your response.

    Canon does not offer a filter for the PowerShot SX500 IS adapter.

    If you do not have the PowerShot SX500 IS, I recommend double-checking with your dealer to make sure that the filter adapter is compatible with this model of camera.  If they can provide a manufacturer for the filter, I recommend for assistance in setting up the filter and double adapter control with them.

  • [ADF, JDev12.1.3] Mastering the form with detail tables: questions about Insertion/deletion, commit / rollback, primary key, handling,...

    Hallo,

    I have a panelTabbed with 4 tabs. In the 1st tab, there is a master form while each of the other tabs, there is a secondary table. Each tab "reads" vo.

    Please see here http://digilander.libero.it/flattit82/OTN_FILES/VoInTabs.png

    I created the graphichs/layout and now it's time to take care of the management of the transaction.

    In the master tab / form

    1)

    Here, I would put a button to remove the master record.

    When I delete a record in the primary table an automatism in the database (MS SQL Server) will automatically delete any registration which are linked to it in the detail tables.

    Could the automated system as this causes problems?

    In the Details tabs / tables

    2)

    I would put a button in each row to delete the line delivering. Can I just drag-and - drop, like button, af line: table the operation "Delete" of the VO istance detail used to create the af: table?

    3)

    If Yes, by clicking on the button performs the default delete operation. But if need to perform some actions before you run the deletion (or, in General, any other operation), how can I do?

    4)

    To create a folder that I use Create or CreateInsert? And what are the differences between them?

    5)

    When I create a new record I need set the value of a field of the VO on which is based the af: table. He filed, let's call it RowDetNumber, is not displayed in the af: table, because it doesn't have be filled in by the user. Mut value is calculated and set "secretly" before posting the new line to the database table. In particular, its value must be calculated as

    Select max (RowDetNumber) + 1

    of table_on_which_VO_is_based

    where some_conditions_on_fields_of_the_same_VO


    For example

    The VO selects all of the records that have FkId =: value. If value = 3, VO selection records:

    ID RowDetNumber OtherFields FkId

    1   3     1             ...

    2   3     2             ...

    3   3     3             ...

    4   3     4             ...

    The new record must be RowDetNumber = 5.

    I would like to know how permorm this.

    In general

    6)

    If the database tables have 1 or more triggers I have to take care of something?

    7)

    On the book "development of Web Applications with Oracle ADF Essentials - Sten E. Vesterli", I have read it could be problems when you use tables of database non-Oracle with auto-increment fields.

    The advice of author uncheck the 'Required' box in the model.

    All tables in my database have a primary keys that are auto-increment... so I uncheck the "mandatory"?

    8)

    In general how do I set these fields? I have to put in OT, VO or both?

    Thank you

    Federico

    Hello

    (1) you will need to re - question child iterators so that they do not look stale data

    (2) Yes. Ensure that the table is PPRed after deleting the line (should happen automatically if ChangeEventPolicy on iterator is set to ppr)

    (3) double click on the button and it creates a bean managed for you. It allows you to check a box to generate the code he would run to remove the line. Everything you put in front of the generated code is your code before

    (4) in the case of tables, use createInsert as it adds the new line to the rowset (transaction)

    (5) suggest to do this use a database trigger and the data attribute value DBSequence VO type

    (6) do not 'drop table' issue in SQL (sorry, couldn't resist ;-))

    (7) If you follow the advice of the author, Yes. What it does, I have it does not throw an exception if a value is missing in the validation of the line

    (8) usually you set whatever it is at the level of the OS and put only things on VO if you want to override the default value for a specific behavior


    Frank

  • A question about filters

    Is it possible to create a filter that will call the method on the object being cached without using reflection?
    Performance wise, when I know the type of the class of the item being cached and you can use a function call classical, it is faster, especially when we have thousends of objects in the cache...

    Hi Reem,

    With most of the filters, you can specify the ValueExtractor that the filter should use to get the value. Many filters have a constructor that takes a method name and it will use a ReflectionExtractor to get the value for the filter. You can of course use any ValueExtractor you like. There is no "out of the box" extractors that you want as obviously none of them know your classes. You have two options:

    1. write your own ValueExtractor that can call the method on your class in its extract method

    2. If you are using POF serialization then you can use a PofExtractor to the filter.

    Of the two options of the second best. If you use a PofExtractor consistency will be able to retrieve the values of data cached without having to deserialize the contents of the cache.

    If you write you own Extractor you needs to think to properly implement equals and hashCode methods of transposition you Extractor.

    If you're embarrassed on the performance you can create indexes on the caches by using the same extractors you use in your filters.

    Kind regards
    JK

  • Question of filtering Automator

    I was wondering if someone could tell me a way to filter holders number you will find on any page of Wikipedia to allow the page to be read aloud by the computer without all the hooks numbered playing with her. My first thought was to filter paragraphs containing automator [or] but which removes whole lines of text as well as the media. My next thought was to have automator get the text of a page, to copy and paste it into a TextEdit document while having preferences set so that TextEdit documents have only 1 character each line of text (which is what automator is estimated only a paragraph) and then filter the paragraphs containing [or]. It seemed that it was going to work but after I get my document of text down to a single word per line and save it. When I try and spend it in automator, none of the formatting is passed with it. It is essentially the same as it was before. Any ideas how I might accomplish this? Perhaps a shell script could filter the characters [and]?

    Hello

    Use this script in the "run Shell Script" action:

    while (<>) {s/\[[^\]]*\]//g; print}
    
  • Filtering in the table to the ADF

    Hi all

    My view object contains a Where Clause in the query:

     <DeclarativeWhereClause
        Name="DeclarativeWhereClause">
        <ViewCriteria
          Name="AccTravelAgentsViewByOwnerWhereCriteria"
          ViewObjectName="vo.AccTravelAgentsView"
          Conjunction="AND"
          Mode="3">
          <ViewCriteriaRow
            Name="AccTravelAgentsViewByOwnerWhereCriteria_row_0"
            UpperColumns="1">
            <ViewCriteriaItem
              Name="AcType"
              ViewAttribute="AcType"
              Operator="="
              Conjunction="AND"
              Value="3"
              Required="Required"/>
          </ViewCriteriaRow>
        </ViewCriteria>
      </DeclarativeWhereClause>
    

    VO data are displayed in the table read-only ADF with filtering and active sort.

    Question:

    Filtering for example by the AcCity parameter table fails with the error message: 'no value specified for parameter 2 '.

    It seems that the value literal '3' for AcType is missing from the sql query:

    <oracle.adf.model> <DCBindingContainer> <validateInputValues> <[989] DCBindingContainer:view_travel_agenciesPageDef validating at level:all> 
    <oracle.adf.model> <ViewRowSetImpl> <doSetWhereClauseParam> <[990] AccTravelAgentsView2 ViewRowSetImpl.doSetWhereClause(0, null, Beijing)> 
    <oracle.adf.model> <ViewRowSetImpl> <doSetWhereClauseParam> <[991] AccTravelAgentsView2 ViewRowSetImpl.doSetWhereClause(0, null, 3)> 
    <oracle.adf.model> <ViewRowSetImpl> <execute> <[992] AccTravelAgentsView2 ViewRowSetImpl.execute caused params to be "un"changed> 
    <oracle.adf.model> <ViewRowSetImpl> <initQueryCollection> <[993] Carrying over CappedRowCount:-1for ViewRowSet:AccTravelAgentsView2> 
    <oracle.adf.model> <QueryCollection> <createColumnList> <[994] Column count: 19> 
    <oracle.adf.model> <ViewRowSetImpl> <setWhereClauseParamsInternal> <[995] AccTravelAgentsView2 ViewRowSetImpl.setWhereClauseParams caused params changed> 
    <oracle.adf.model> <ViewRowSetImpl> <doSetWhereClauseParam> <[996] AccTravelAgentsView2 ViewRowSetImpl.doSetWhereClause(0, null, Beijing)> 
    <oracle.adf.model> <ViewRowSetImpl> <doSetWhereClauseParam> <[997] AccTravelAgentsView2 ViewRowSetImpl.doSetWhereClause(0, null, 3)> 
    <oracle.adf.model> <ViewRowSetImpl> <execute> <[998] executeQueryForCollection ViewObject:AccTravelAgentsView2, RowSet:AccTravelAgentsView2> 
    <oracle.adf.model> <ViewObjectImpl> <processViewCriteriaForRowMatch> <[999] VCs converted to RowMatch:  ( ( (UPPER(AcCity) LIKE UPPER( :vc_temp_2 || '%') ) ) )  AND ( ( (AcType = :vc_temp_1 ) ) ) > 
    <oracle.adf.model> <ViewObjectImpl> <closeStatementsResetRowSet> <[1000] ViewObject: [vo.AccTravelAgentsView]AppModule.AccTravelAgentsView2 close prepared statements...> 
    <oracle.adf.model> <ViewObjectImpl> <getPreparedStatement> <[1001] ViewObject: [vo.AccTravelAgentsView]AppModule.AccTravelAgentsView2 Created new QUERY statement> 
    <oracle.adf.model> <ViewObjectImpl> <processViewCriteriaForRowMatch> <[1002] VCs converted to RowMatch:  ( ( (UPPER(AcCity) LIKE UPPER( :vc_temp_2 || '%') ) ) )  AND ( ( (AcType = :vc_temp_1 ) ) ) > 
    <oracle.adf.model> <ViewObjectImpl> <buildQuery> <[1003] AccTravelAgentsView2>#q computed SQLStmtBufLen: 787, actual=655, storing=685> 
    <oracle.adf.model> <ViewObjectImpl> <buildQuery> <[1004] SELECT Accounts.ac_addressLine1,         Accounts.ac_addressLine2,         Accounts.ac_city,         Accounts.ac_country_id,         Accounts.ac_created_by,         Accounts.ac_created_date,         Accounts.ac_id,         Accounts.ac_modified_by,         Accounts.ac_modified_date,         Accounts.ac_name,         Accounts.ac_owner,         Accounts.ac_phone,         Accounts.ac_postalCode,         Accounts.ac_remark,         Accounts.ac_state,         Accounts.ac_status,         Accounts.ac_type FROM accounts Accounts WHERE ( ( ( (UPPER(Accounts.ac_city) LIKE UPPER( ? || '%') ) ) )  AND ( ( (Accounts.ac_type = ? ) ) ) ) ORDER BY Accounts.ac_name> 
    <oracle.adf.model> <ViewObjectImpl> <bindParametersForCollection> <[1005] Bind params for ViewObject: [vo.AccTravelAgentsView]AppModule.AccTravelAgentsView2> 
    <oracle.adf.model> <BaseSQLBuilderImpl> <bindParamValue> <[1006] Binding param 1: 3> 
    <oracle.adf.model> <ViewObjectImpl> <doFreeStatement> <[1007] ViewObject: [vo.AccTravelAgentsView]AppModule.AccTravelAgentsView2 close single-use prepared statements> 
    <oracle.adf.model> <QueryCollection> <buildResultSet> <[1008] QueryCollection.executeQuery failed...> 
    <oracle.adf.model> <QueryCollection> <buildResultSet> <[1009] java.sql.SQLException: Missing IN or OUT parameter at index:: 2
        at oracle.jdbc.driver.OraclePreparedStatement.processCompletedBindRow(OraclePreparedStatement.java:2146)
    

    When I remove the Where Clause of the query, I am able to filter the table.

    Any idea what I have wrong?

    Build JDEVADF_12.1.3.0.0_GENERIC_140521.1008.S

    Thanks for the support and best regards,

    Daniel

    This "declarative" when the clause is introduced in 12 c, therefore probably buggy.

    No difference if replace you it with the good old bind variable in sql query? (uncheck "Calculate optimized query at Runtime" and manually put where clause)

    Dario

  • How to remove several commas in a string

    Hello friends,

    I have a string like "Myriam, pqrstu, prquste.

    Need to convert to a seperated string comma as "pqrstu, Fund, Myriam, prquste.

    I used RTRIM ('Myriam, pqrstu, Fund, prquste, ',' '), but commas between the chain is not deleted but only on the right side of the string

    Select RTRIM ('Myriam, pqrstu, Fund, prquste,', ') twice;

    I hold in a single select statement.

    Please advice.

    Thank you/Kumar

    In the query, you answered, there is still a comma at the end of the chain...

    Yes, because you wrote:

    Need to convert to a seperated string comma as "pqrstu, Fund, Myriam, prquste.

    in your original question. There is comma at the end, so my example.

    However, you already fixed it ;)

    Don't forget that my example will not work for more than 2 of the comma.
    You may need to resort to the solution of Frank, but there is a risk of a loss of performance, based on the amount of data and your hardware.

  • selectoneradio gets not selected while filtering in grid...

    Hello

    Worm 11.1.1.3.0 JDev

    I use view based on entities and a transient variable with the String data type...

    I used this variable as a selectoneradio in the grid. I dragged this attribute as a selectoneradio in the grid, select the element contains values 'Y' and 'n'.

    I get the question on filtering, while filtering the selected values are gets not selected... I want that the values must be supported... (selected)

    How to do this? is there another way to do this...?

    give suggestions...


    Kind regards
    Gopinath J

    Published by: GOP on April 30, 2011 09:48

    If I understand you correctly, you have a update y VO a transitional attribute. You have created a with a filter and the table contains a column with a be changed based on the transient attribute.

    I suppose also that filter in the table is based on a criterion of display with a "database" execution mode (for example, on the criteria of "All the attributes that can be interrogated" by default). If this is the case, whenever you enter a condition in the filter and run the filter, a new database query is executed, lines of VO is rebuilt and you lose the values entered in the transient attribute. To avoid the recreation of the rowset (for example to prevent a new run of the DB query) you must base the filter of the table on one 'in memory' view of criteria rather than the default (which is a "database" one). If the criteria to filter display is an "in memory", a set of lines of the VO is not rebuilt, but all existing lines is filtered in memory and you won't lose the values entered in the interim until attribute.

    (There is a field called 'Query Mode' in the definition of display criteria dialog box, where you can select the run mode of the criteria - "Database", "In memory" or "Both".) Create the necessary conditions and select the "In memory" mode).

    Having in mind the fact that the criteria for marking as "in memory" will not filter the lines to the query of database (which will be executed at the start to load the set of lines), so all lines will be extracted, and then they will be filtered in memory. If this is not desired (for example because the number of all the lines is important), you can combine the filter with a panel of which limits the rows from the rowset, and then the filter will filter them in memory.

    Dimitar

  • S/n commit transaction of the other session?

    Hello world
    A small question, a DBA can commit {color: #0000ff} the other session transaction {color}?

    If so, how?
    Thank you!
    Alex

    A DBA can back uncertain or commit distributed transactions initiated by some other sessions. Assuming that we don't talk about distributed transactions, however, a DBA can not commit the session another transaction. The DBA can kill the other session, which, as a side effect would be to roll back transaction for the session.

    Justin

  • CSV with double quotes

    Hello

    I had tough time trying to figure out how to read a CSV with quotes, I need to read a csv file in order to fill out a worksheet.

    I am attaching a sample csv file to display the type of file, that I'm trying.

    Thank you

    After inspection, you're right, it's a trick question.  You need commas that follow an even number of quotes for separators.  Since my previous statement was not converted, I assume that you have an earlier version of LV, so I have attached an example of 8.6.  You can get rid of the quotes if you like (exercise for the reader).

  • Design practice nor 6008 USB DAQ

    Hello

    I have a few question, I'd like to introduce. I need some sort of indication on how to better perform a timed cycle of acquisition driven by WSF.
    I'll send my VI (conceptual, not one currently working one) and ask for explanations.
    The goal

    I need to acquire a battery voltage. Load current consumption is driven by a couple of transistor.  I drive the hollow transistors two digital i/o for USB data acquisition.

    Because I need to have a power for a given time cycle, I need to have some sort of time control on the output.
    So I wrote a simple state machine whose States are updated when a timer reaches zero. Each State has its own queue time.
    Moreover, I differentiate between acquisition and control operations using two all in cycles.
    First question: is this a correct way to a timed WSF of construction?

    and now:

    The problem (s):

    I need to connect and establish a correlation between the input line for the internal of the fsm States. So I madesome digital indicator on the face before of the VI and created a local variable (I know that local variables are BAD, but I had no other idea everything) to pass values for some time to the other.

    I also want to select State sequent of the FMS based on the input value, I get a channel. I can stil use a local variable?

    Are the two related tasks?

    Second question: are local variables, something that I can use for this task?

    Last but not least: I need to filter on the values.
    In this vi I perform a filtering operation and then I get the I use for control of local variables.

    will be this filtering desync the two cycles while? will I run out of control before running the filtering?

    The same question is valid for the purposes of registration: the unfiltered data record, I guess is unnecessary. But based on this 'architecture' I know the country reports and the recorded signals are out of sync (as happens in many game data acquired with this vi).
    Is this a problem of logging (perhaps given by different buffers for data acquisition and internal State or something similar) or the whole WSF will be out of sync, then all acquired data is more useful because it is out of sync?

    Any advice would be much appreciated.

    Best regards

    Luca.

    Luca,

    Question 1: This is a reasonable start but need some things to make it a good WSF. There is no waiting or delay in the loop so it will run as fast as possible. U.S.-6008 outputs digital software timed so that the DAQ Assistant can take a long time, but the amount of time is unknown and not necessarily consistent from iteration to iteration. Since the DAQ Assistant Analog Input in the other races of loop to<= 10="" iterations="" per="" second,="" a="" wait="" of="" 100="" ms="" in="" the="" fsm="" loop="" seems="" like="" a="" good="" starting="" point.="" waiting="" 3000="" ms="" is="" not="" a="" good="" idea="" because="" the="" loop="" becomes="" unresponsive="" to="" the="" stop="" button="" for="" long="">

    Do you need to write on the lines on each iteration, even when the data has not changed? Add a write state that is called only when the data changes.

    The DAQ Assistant has a Stop input and an output of Stopped. When you are ready to stop the loop, the stop signal must be wired to these inputs so that the DAQ Assistant can delete tasks. The output of the order can be connected to a Terminal to stop the loop.

    Problem (s):

    It seems that you want to link the two loops.  Local variables are usually a bad way to do it. The best way is to use queues.  A queue can send the current state of the file loop. (More comments later if that's really what you need). Another line can send data, or better, the commands, the loop of the file to the loop.

    I think you want digital output values rather than the State. Especially if you add a State writing as I suggested above, the current state will not always represent the condition of the power of your test.  To make this work with the additional state Boolean matrix must be moved from one iteration to another via a shift register.

    It seems that you have at least two controls to be sent from the loop of the file to the loop. One is the stop command. The other went to the higher power level control.  You should probably have a command to set off power level which can be used if the battery voltage becomes too low and before stopping.  How your program is currently configured, the last level of power will continue as long as the power of the computer is on and the USB-6008 is always plugged. The cessation program does NOT reset the lines.

    When you use anti-parallel to the queues, you must be careful on the definition of wait times and the timed out case management.

    The benefits of the queues are that it is easy to ensure synchronization at the level you need, the data can be stored according to the needs, and there are good examples. It also avoids the possibilities of race conditions, often introduced by local variables.  This program could be based on a variation of the design producer/consumer model.

    Filter questions: any filter introduces a time delay. In your case when you filter 100 samples 10 times per second, it is likely that the filter will do well until the next data set has arrived. The delay of the filter is not affecting your synchronization. The above lines will solve problems.  Since you are looking at time of cycle seconds and the minimum interval on the order of 100 ms, the exact chronology (to tens of milliseconds level) is probably not too important.

    The real question about filtering boils down to this: does the control work better if the signal is filtered?

    - - - - -

    I'd probably all this a little differently. Given the slow speeds and the small amount of data, a simple loop with an improved state machine is all that is needed. Get rid of the DAQ Assistant and learn how to use DAQmx screws.  States could include: Init THE Init, Init File, Idle, read, write, DO, Analyze, filter, adjust the power, wait, Save, close file, DO, AI Shutdown Shutdown, error and exit.  No variables. No indicator fake just to allow the creation of local variables. Very little code outside the structure State case. None of the queues.

    Lynn

  • BlackBerry smartphones powered work e-mails at work

    I have a BB Curve 9300.  I have two personal and account on the BB email.  Is there a way to not to receive my work email when I'm in my office so that I get them on my PC and BB?  I was expecting basically an on/off switch for the e-mail account that can be used when in my office.

    few things to try:

    Go to your e-mail configuration, go to the account in question, click filters, check the box that says "do not forward messages to the device" set by default if it does not work.

    Else: try to use the blackberry firewall

    http://BTSC.webapps.BlackBerry.com/BTSC/search.do?cmd=displayKC&docType=kc&externalId=KB23877

    I think this may block all emails fine, but you can take a look at the options.

  • Create a filter with a large list of non-specific values

    I am familiar with a filter using "value in" option to include a list of specific values of construction. If the list of values is non-specific?

    For example, I am creating a filter that shows me all the addresses that start with these:

    admin@*,all@*,billing@*,everyone@*,feedback@*,ftp@*,hostmaster@*,info@*,investorrelations@*,ispfeedback@*,ispsupport@*,jobs@*,list-request@*,marketing@*,news@*,nobody@*,noreply@*,spam@*,subscribe@*,support@*,tech@*,trouble@*,undisclosed-recipients@*,unsubscribe@*,usenet@*,uucp@*,webmaster@*,www@*

    I tried to add with the * using "value in" without success.

    Maybe it's two separate issues, because what I'm really trying to figure out how to build a filter based on the example above and perhaps using the "have a value" is not the road to go at all.

    Thank you.

    Your right, Corey. Several filters are necessary. Not funny, its not like the dentist. Its something you have to do. Maybe Eloqua should make it a policy to send a lollipop after that each of us must do for the first time!

    Using filters in comma as instructions BUT is something that I wanted, since a very long time.

  • REST API issues and in bulk

    Hi all

    I'm just getting started on a new integration between Eloqua and our CRM system. For now, I'm mainly interested in export of Contacts of Eloqua.

    I have 2 questions about the API REST Eloqua:

    1 search Contacts on most of the works of fields very well. However, some fields cause a 500 internal server error. For example, dateCreated and dateModified seem to cause this. I'm doing something wrong, or is this a known problem? I'll try the following:

    GET /Api/rest/1.0/data/contacts?search=C_DateModified%3D1389988359

    2. in the JSON results returned by a search for Contact, it seems that most of the fields are returned in the array "fieldValues can only be". It works well, and I learned how to search the corresponding identification field definitions in the results. However, a dozen of fields returned in a different format to the root level (for example updatedAt, accountName, businessPhone, country, emailAddress, firstName, lastName, etc.). I find that this difference makes it difficult to work with the API constantly. I don't know how these level fields root in correlation with their field definitions. Is it possible to request only * fields all be returned in the array fieldValues can only be?

    I also have a question about filters in the API in bulk:

    3. in the creation of export for export of Contacts, it is possible to specify a filter selection, for example:

    'filter': {'FilterEnsemble': 'valueGreaterThanComparisonValue', 'value': '{{Contact.Field (C_DateModified)}}', "comparisonValue": "2014-02-05 15:36:58"}

    It is possible to specify several filters in this way? (And if so, can we carry out AND / OR operations on them?) Or several selection criteria must be made using a filter of Segment?

    If a Segment filter is needed, I guess I'll have to programmatically create a new for each export to us (and then delete it as well as export) since the dateModified interests us will change each time you export. Doesn't that sounds good, or there at - it a way to create a "reusable" Segment in which I could just move to the date desired by each invocation?

    Edit: I have another question about filters, so I'll add it here:

    4 use the filter question #3 above, I find that Eloqua will return the contacts with a value of C_DateModified 2014-02-05 15:36:58 (note that this is not * superior * 2014-02-05 15:36:58, so I'm not expecting to see these records returned). Is this a bug or expected behavior? My guess is that the Eloqua platform stores internal dates and times with millisecond precision, but delivering or floored in the second round. In this case, the documents in question have no doubt C_DateModified a value slightly greater than 2014-02-05 15:36:58 (for example 15:36:58.342) so the logic is technically correct. Is there a way query/request dates and times to the millisecond precision?


    To give in this context, I am train to the query to export contacts to our CRM system. A process executes periodically and ask all the contacts that have been updated since the last run. I don't want to take the risk of lack of contact updated due to minor timing problems, so my plan was to set up the C_DateModified filter for each series to be larger than the latest value C_DateModified returned from the previous run. This approach is upset about the problem described however. Is there a better way to do this?

    Thanks for any help!

    Post edited by: Lorne McIntosh

    Hi Lorne,

    With regard to some of your questions:

    1. to perform this kind of search, use GET Api/rest/1.0/data/contacts?search='modifiedAt>3/27/2014'

    Research infrastructure will accept generally field research by their internal name, but for certain system-level fields, they are exposed in the top level 'attributes' with specific naming conventions and this is one of them. Company is another example.

    2. This behavior is similar to the above. Some of these root-level or "attribute" fields are there because this end point is designed for use by the application, in which case it must load the most relevant contact on a depth minimum = optimized call fields. There is no way to get all the fields of the table fieldValues can only be because the assumption is that if you do a depth = complete call to get all the data would you duplicate data recovery. If the entire structure of the returned JSON was to change this would just lead to other coding challenges. If it is a major concern, then using Bulk would be your alternative.

    3. this comparison filter only supports the basic queries. No advanced logic or wildcards. You must wear a contact filter and then reference it in your definition of export in bulk, if you want something more complex. They can be reused, but it depends on the logic. If you simply all contacts that have been modified in the last 24 hours and met other criteria, you can let the filter unchanged. If you want to control the precise date time in the query itself and is not in your code that executes the query at the right time (to avoid gaps) then you will need to continually update the filter through REST conditions. If you create a new filter every time rather than update it, then you need to update (or create a new) export definition that the id of the filter will change.

    4. Unfortunately not. Even if you can interview during the time Unix, it is given in seconds not ms (e.g. 1375449678 against 1395776202000). The accuracy of ms would exist in the db level, which explains why the query performs this way for what is expected.

    Hope this helps to clarify,

    Bojan

  • Error calling batch

    Hi friends,
    There is a question in the workflow of reservation when calling interface package. When there is a change in the interface or integration package package, the problem occurs...

    QUESTION:
    WORKFLOW ERROR:
    3146: commit arrived in the activity/function "EY_BOOKING_PROCESS:INTERFACE_PKG_CALL / XXEY_TMS_WF_PROCESS_PKG.interface_pkg_call".

    PL/SQL ERROR:
    ORA-06508: PL/SQL: called program unit could not be found.

    CAUSE:
    The problem arises when there is a change in the interface or integration package package.

    Why the triplicate post?

    Error calling batch
    Error calling batch

Maybe you are looking for