Filter using date picker

    Hi ,
In the above  image if i select date from date picker (created from and created till)  it should filter Rowrepeater based on Created On date ,
So far i have tried this code but not working,
function datechange(){
      var fromdate = sap.ui.getCore().byId("FromDate").getValue();
      var todate = sap.ui.getCore().byId("TillDate").getValue();
      var filter = new sap.ui.model.Filter("CreatedOn", sap.ui.model.FilterOperator.BT,
          fromdate,todate);
      oRowRepeater.bindRows("CM_EventList>/eventlist",oVBox, null, null,
          [ filter ]);
CreatedOn is a back end value.
Please help me on this.
Thanks & Regards,
Sathish.

I think your rowrepeater bindRow parameters have one 'null' argument too many:
According to the API, it should be bindRows(sPath, oTemplate, oSorter, aFilters)
Try with
oRowRepeater.bindRows("CM_EventList>/eventlist",oVBox, null, [ filter ]);

Similar Messages

  • Using Date Picker on form causes session values to be cleared on validation

    Got a really weird problem on a form (on a report). We have a basic form which has a date picker on. The form fires a number of bog standard validations when the Create button is clicked (values filled in, values are numbers etc).
    When a validation fails, the values inputted by the user are retained. So far so good. However, when the user selects a date, and a validation fails, all the session values are all cleared (not just the date picker) and they have to fill everything in again.
    At first we thought there must be a process resetting the page items - nothing. Also recreated the page from scratch and it still doesn't work. Strangely, the problem goes away if we change the date picker to a text field. Also, if the user doesn't select a date, the other session values are retained.
    Are we doing something daft here or is this a bug?

    Yes - we're using inbuilt validation to ensure it's a valid date. We tried turning this off and it makes no difference, the problem is still there.
    We tried changing the date picker to a text field and using the same validation (i.e. check it's a date) and this works fine. This is why we think it might be a bug.

  • Problem with date format using date picker

    In my application I provide to user ability to change date format. When using "MMM dd yyyy" format, the date picker paste to the inputbox something like "1111 07 2008" instead of "Nov 07 2008".
    To set the date format I use the following code:
    wdContext.nodeDateNode().getNodeInfo().getAttribute("date").getModifiableSimpleType().setFormat("MMM dd yyyy");
    I know that is known bug of date picker. But there should be other way to implement this functionality. Isn't it?

    Hi
    Check this link
    /message/6430993#6430993 [original link is broken]
    For more details
    http://www.sapdb.org/7.4/htmhelp/48/0d8018b4f211d2a97100a0c9449261/frameset.htm
    Thanks

  • Update using date picker not working?

    Hello,
    This might be simple for a lot of people here but I can't get it going...
    The problem is that, I have a tabular form with 1 text field and 1 date field. I am using a PL/SQL anonymous block transaction to insert/update a view based on the field values. Insert is fine but update on the date field is not working - but no errors. The date field is a date picker('DD-MON-YYYY') column. Kindly help check the problem. Thank you.
    Below are some codes that might be helpful
    -- update statement in the block
    update  del_ignore_conchold_v
    set     conc_prog_name = apex_application.g_f03(v_row)
           ,remove_entry_date = apex_application.g_f04(v_row)
    where   row_id = apex_application.g_f02(v_row);
    -- update trigger on the view
    CREATE OR REPLACE TRIGGER APPS_TEST.del_ignore_conchold_v_upd_tr
       instead of update
       ON APPS_TEST.DEL_IGNORE_CONCHOLD_V referencing new as new old as old
       for each row
    begin
       update apps.del_ignore_conchold_tbl@PROD
          set conc_prog_name = :new.conc_prog_name,
              remove_entry_date = :new.remove_entry_date
        where conc_prog_name = :old.conc_prog_name
        and   remove_entry_date = :old.remove_entry_date;
    end;Thanks,
    Rownald

    Hello,
    The output for g_f03(v_row) and g_f04(v_row) appear to be fine. g_f03 only has the actual text and g_f04 has the date(from date picker field) with format like 22-OCT-2009. Below is an excerpt of the code & debug log - might be of help.
    Thanks as always.
            if apex_application.g_f02(v_row) is not null then
                wwv_flow.debug('MY PROCESS: g_f02 ' || apex_application.g_f02(v_row));
                wwv_flow.debug('MY PROCESS: g_f03 ' || apex_application.g_f03(v_row));
                wwv_flow.debug('MY PROCESS: g_f04 ' || apex_application.g_f04(v_row));
                -- update stmt
                update  del_ignore_conchold_v
                set     conc_prog_name = apex_application.g_f03(v_row)
                       ,remove_entry_date = apex_application.g_f04(v_row)
                where   row_id = apex_application.g_f02(v_row);
                wwv_flow.debug('MY PROCESS: g_f03 ' || apex_application.g_f03(v_row));
                wwv_flow.debug('MY PROCESS: g_f04 ' || apex_application.g_f04(v_row));
    -- debug log --
    0.09: ...Do not run process "AddRows", process point=AFTER_SUBMIT, condition type=, when button pressed=ADD
    0.09: ...Process "Save_Transaction": PLSQL (AFTER_SUBMIT) declare v_row binary_integer; begin for i in 1..apex_application.g_f01.count loop v_row := apex_application.g_f01(i); if apex_application.g_f02(v_row) is not null then wwv_flow.debug('MY PROCESS: g_f02 ' || apex_appli
    0.09: MY PROCESS: g_f02 AAE2DlAHKAAAA0qAAB
    0.10: MY PROCESS: g_f03 Delete data from temporary table
    0.10: MY PROCESS: g_f04 22-OCT-2009
    0.11: MY PROCESS: g_f03 Delete data from temporary table
    0.11: MY PROCESS: g_f04 22-OCT-2009
    0.15: ...Process "Reset Pagination": RESET_PAGINATION (AFTER_SUBMIT) reset_pagination
    0.15: Branch point: AFTER_PROCESSINGRownald

  • Dynamic Actions not firing when using date picker?

    The dynamic actions don't seem to be triggering when selecting a date from the date picker, but trigger just fine when the dates are manually entered. Anyone else have this problem and if so is there a workaround to get it to work from the date picker as well? I am using Application Express 4.0.1.00.03
    And how can I report this problem?

    I'm already using Change.
    If it matters, I have it set to:
    Event: Select
    Selection Type: Item
    Condition: No Condition
    My action type is just an alert right now since all I want to do is to see if I can trigger it (as in you have to walk before you can run).
    Event Scope: Live
    Conditon type: Dynamic Action not Conditional
    Authorization Scheme: No Authorization Required

  • Query using Date Picker

    Is it possible to have a date picker, like the one on the edit form, added to the generated query form?
    I'm using version 9.0.3
    Thanks.

    Hi,
    I tried the normal date picker as in the edit form but it doesn't work!
    With the following code it is possible to select a date from the date picker:
    <script src="/cabo/jsLibs/MarlinCore.js" language="javascript"></script>
    <script src="/webapp/jsLibs/DateField.js" language="javascript"></script>
    <INPUT TYPE="TEXT" NAME="NAME_TEXTFIELD" SIZE="11">
    <a onclick="launchDatePicker('/cabo/jsps/frameRedirect.jsp?redirect=/webapp/jsp/calendar.jsp&locale=nl_BE&enc=windows-1252', 'FORM_NAME', 'NAME_TEXTFIELD', 'dd/MM/yyyy'); return false" href="#">
    <img src=/webapp/images/FNDICLDR.gif align=absmiddle border=0 alt="Calendar for date entry assistance"></a>
    You have to fill in the places where I put FORM_NAME or NAME_TEXTFIELD and it must work!
    It works with me so I hope it works also with you...

  • "Server Busy" error in Crystal Reports XI when using date picker

    Hi,
    I have come across an issue whereby I get a error pop up when using the date picker to select a date parameter as I run a report from within Crystal Report XI on a particular PC. While I am able to type in the date using the yyyy-mm-dd format, selecting the date picker displays an error message titled "Server Error" stating that the program is not responding and giving options "Switch To" and "Retry". Selecting either button displays the same error message and need to kill the application from the Task Manager to restart.
    I have run the same report from other PCs (including using the date picker to pick a date parameter) without the error popping up. All of the PCs have the same version of the application.
    Has anyone come across this and how were you able to resolve it?

    yes test is a formula that i used to calculate a difference
    that should work, but i would put () around the
    (if(remainder(({ztrptActVol.CPT}*{tlkpBblMileage.CPT}),1)>0 and
    remainder(({ztrptActVol.CPT}*{tlkpBblMileage.CPT}),1)<1) then
    truncate(({ztrptActVol.CPT}*{tlkpBblMileage.CPT}))+1
    else ({ztrptActVol.CPT}*{tlkpBblMileage.CPT})
    rounding in crystal is a pain in the &&

  • Date picker in OBIEE

    I would like to use Date Picker on the OBIEE Dashboard. Is there any standard control/mechanism that I can put to use ?

    hi....can you explain it a little more???
    i created 2 dashboards prompts. from 2 dummy collums
    i set CAST ( NULL AS DATE ) and CAST ( '11/12/2008' AS DATE ),i choose calendar and i set 2 presentation variables,start and end
    in my reports i creates a single collumn(measure column from fact table) QTY where i want to se the quantity of the specified period of time.
    i set in the function...
    FILTER(fact.QTY USING (CALENDAR_DIM.CALENDAR_DATE BETWEEN '@{start}{04/01/2007}' AND '@{end}{06/01/2007}'))
    (i did that because i want to have 2 colums of qty in order to represent 2 qts of 2 different periods.
    i made a simple test only with one period but the result was...
    Κατάσταση: HY000. Κωδικός: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 17001] Oracle Error code: 1843, message: ORA-01843: not a valid month at OCI call OCIStmtExecute: select T622.KATHGORIA_ID_DESC as c1, sum(T525.QTY) as c2, T409.CALENDAR_DATE as c3 from DWADM.PRODUCT_DIM T622, DWADM.CALENDAR_DIM T409, DWADM.FACT2007 T525 where ( T409.CALENDAR_DATE = T525.CAL_DATE and T525.PRD_SK = T622.PRODUCT_SK and T409.CALENDAR_DATE between '04/01/2007' and '06/01/2007' ) group by T409.CALENDAR_DATE, T622.KATHGORIA_ID_DESC order by c1, c3. [nQSError: 17011] SQL statement execution failed. (HY000)
    any help???
    i manage to do my scenario with dropdown list but it is not what i want.
    the one tha o notice is that the field from the calendar is acceptin the dates onlu in format of yyyy-MM-dd.
    tnks

  • Date picker not working correctly.

    Hi all,
    I have a strange prob in webdynpro.
    I am using Date picker. But once i read it, the value is one day less than that i give.
    For eg, i give <b>06/25/2006</b>.. but it reads as <b>06/24/2006</b>.
    Please help.
    Thanks in advance
    gEorgE

    Open an OSS message (BC-WD-JAV-RUN).
    Armin

  • Looking for a "free" Date Picker

    I'm looking for a free to download and use Date Picker that I can integrate into a small Swing app. Nothing fancy, just a calendar (probably using a JTable) and the ability to select a day of year/month and (possibly) a time of day.
    I'm searching google but they're all commercial licenses and I'm simply building this app as a learning process, not for profit.
    If there's nothing out there, I'll just stick with my series of combo-boxes :)
    Cheers,
    Chris

    Oh yeah, I should point out that I'm not just being lazy. I've spent a while trying to build it myself to no avail. I got as far as displaying the grid :P
    http://www.w3style.co.uk/~d11wtq/datepicker.png (out of date, the days are correct now)
    package org.w3style.calendar;
    import javax.swing.*;
    import javax.swing.table.*;
    import java.awt.*;
    public class CalendarPanel extends JPanel
         protected CalendarEventController controller = null;
         public CalendarModel model = null;
         //JComponents
         protected JComboBox monthDropdown = null;
         protected JSpinner yearDropdown = null;
         protected JTable grid = null;
         public CalendarPanel(String title)
              super(new GridBagLayout());
              this.model = new CalendarModel();
              this.controller = new CalendarEventController();
              this.controller.setUI(this);
              this.controller.setModel(this.model);
              this.setBorder(BorderFactory.createTitledBorder(title));
              GridBagConstraints c = new GridBagConstraints();
              c.gridx = 0;
              c.gridy = 0;
              c.fill = GridBagConstraints.HORIZONTAL;
              c.anchor = GridBagConstraints.WEST;
              this.addMonths(c);
              c.gridx = 1;
              c.anchor = GridBagConstraints.EAST;
              c.fill = GridBagConstraints.NONE;
              this.addYears(c);
              c.gridx = 0;
              c.gridy = 1;
              c.gridwidth = 2;
              this.addTable(c);
         protected void addMonths(GridBagConstraints c)
              String[] months = this.model.getMonths();
              if (this.monthDropdown == null)
                   this.monthDropdown = new JComboBox(months);
              int monthNow = this.model.getCurrentMonth();
              this.monthDropdown.setSelectedIndex(monthNow);
              this.model.setSelectedMonth(monthNow);
              this.controller.addMonthDropdown(this.monthDropdown);
              this.add(this.monthDropdown, c);
         public JComboBox getMonthDropdown()
              return this.monthDropdown;
         protected void addYears(GridBagConstraints c)
              this.yearDropdown = new JSpinner(this.model.getYearSpinnerModel());
              this.yearDropdown.setEditor(new JSpinner.DateEditor(this.yearDropdown, "yyyy"));
              this.add(this.yearDropdown, c);
         protected void addTable(GridBagConstraints c)
              JPanel box = new JPanel(new GridBagLayout());
              GridBagConstraints myC = new GridBagConstraints();
              myC.gridx = 0;
              myC.gridy = 0;
              this.grid = new JTable(this.model.getTableModel());
              this.configureTable();
              box.add(this.grid.getTableHeader(), myC);
              myC.gridy = 1;
              box.add(this.grid, myC);
              this.add(box, c);
         public void configureTable()
              this.grid.setDragEnabled(false);
              this.grid.getTableHeader().setReorderingAllowed(false);
              this.grid.getTableHeader().setResizingAllowed(false);
              CalendarCellRenderer renderer = new CalendarCellRenderer();
              renderer.setParentUI(this);
              TableColumn col = null;
              for (int i = 0; i < 7; i++)
                   col = this.grid.getColumnModel().getColumn(i);
                   col.setPreferredWidth(25);
                   col.setCellRenderer(renderer);
              this.grid.setSelectionBackground(new Color((float)0.7, (float)0.86, (float)1.0));
              this.grid.setSelectionForeground(Color.black);
              this.grid.setShowGrid(false);
              this.grid.setRowHeight(20);
              if (this.model.getSelectedMonth() == this.monthDropdown.getSelectedIndex())
                   int r = this.model.getSelectedGridRow();
                   this.grid.setRowSelectionInterval(r, r);
                   int c = this.model.getSelectedGridColumn();
                   this.grid.setColumnSelectionInterval(c, c);
         public JTable getGrid()
              return this.grid;
    * Manages the rendering of the cells in the calendar
    package org.w3style.calendar;
    import javax.swing.*;
    import javax.swing.table.*;
    import java.awt.*;
    import java.awt.event.*;
    * This is just a basic extension of the DefaultTableCellRender from the current L&F
    public class CalendarCellRenderer extends DefaultTableCellRenderer
          * The current row being rendered
         protected int row;
          * The current column being rendered
         protected int col;
          * If this cell is part of the "selected" row
         protected boolean isSelected;
          * The table being rendered
         protected JTable tbl;
         protected CalendarPanel parentUI = null;
         public void setParentUI(CalendarPanel p)
              this.parentUI = p;
          * Fetch the component which renders the cell ordinarily
          * @param JTable The current JTable the cell is in
          * @param Object The value in the cell
          * @param boolean If the cell is in the selected row
          * @param boolean If the cell is in focus
          * @param int The row number of the cell
          * @param int The column number of the cell
          * @return Component
         public Component getTableCellRendererComponent(JTable tbl, Object v, boolean isSelected, boolean isFocused, int row, int col)
              //Store this info for later use
              this.tbl = tbl;
              this.row = row;
              this.col = col;
              this.isSelected = isSelected;
              //and then allow the usual component to be returned
              return super.getTableCellRendererComponent(tbl, v, isSelected, isFocused, row, col);
          * Set the contents of the cell to v
          * @param Object The value to apply to the cell
         protected void setValue(Object v)
              super.setValue(v); //Set the value as requested
              //Set colors dependant upon if the row is selected or not
              if (!this.isSelected) this.setBackground(new Color((float)0.87, (float)0.91, (float)1.0));
              else this.setBackground(new Color((float)0.75, (float)0.78, (float)0.85));
              //Set a special highlight color if this actual cell is focused
              if (this.row == this.tbl.getSelectedRow() && this.col == this.tbl.getSelectedColumn())
                   this.setBackground(new Color((float)0.5, (float)0.80, (float)0.6));
                   this.parentUI.model.setSelectedMonth(this.parentUI.getMonthDropdown().getSelectedIndex());
                   this.parentUI.model.setSelectedGridRow(this.row);
                   this.parentUI.model.setSelectedGridColumn(this.col);
    package org.w3style.calendar;
    import java.util.Calendar;
    import java.util.GregorianCalendar;
    import java.util.Date;
    import javax.swing.table.DefaultTableModel;
    import javax.swing.*;
    public class CalendarModel
         protected GregorianCalendar calendar = null;
         protected Integer selectedMonth = null;
         protected Integer selectedYear = null;
         protected Integer selectedGridRow = null;
         protected Integer selectedGridColumn = null;
         String[][] days = null;
         public CalendarModel()
              this.days = new String[6][7];
              this.calendar = new GregorianCalendar();
         public GregorianCalendar getCalendar()
              return this.calendar;
         public String[] getMonths()
              String[] months = {
                   "January", "February", "March", "April", "May", "June",
                   "July", "August", "September", "October", "November", "December" };
              return months;
         public int getDaysInMonth()
              int[] daysInMonths = { 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 };
              int month = this.calendar.get(Calendar.MONTH);
              int ret = daysInMonths[month];
              if (month == 1 && this.calendar.isLeapYear(this.calendar.get(Calendar.YEAR))) ret += 1;
              return ret;
         public String[] getDayHeadings()
              String[] headings = { "S", "M", "T", "W", "T", "F", "S" };
              return headings;
         public DefaultTableModel getTableModel()
              String[] headings = this.getDayHeadings();
              Object[][] data = this.getDays();
              DefaultTableModel model = new DefaultTableModel(data, headings) {
                   public boolean isCellEditable(int row, int col)
                        return false;
              return model;
         public SpinnerDateModel getYearSpinnerModel()
              Date now = this.calendar.getTime();
              int year = this.calendar.get(Calendar.YEAR);
              this.calendar.add(Calendar.YEAR, -1000);
              Date earliest = this.calendar.getTime();
              this.calendar.add(Calendar.YEAR, 2000);
              Date latest = this.calendar.getTime();
              this.calendar.set(Calendar.YEAR, year);
              SpinnerDateModel model = new SpinnerDateModel(now, earliest, latest, Calendar.YEAR);
              return model;
         public void setSelectedGridRow(int r)
              this.selectedGridRow = r;
         public Integer getSelectedGridRow()
              return this.selectedGridRow;
         public void setSelectedGridColumn(int c)
              this.selectedGridColumn = c;
         public Integer getSelectedGridColumn()
              return this.selectedGridColumn;
         public int getSelectedMonth()
              return this.selectedMonth;
         public void setSelectedMonth(int m)
              this.selectedMonth = m;
         public String[][] getDays()
              int currDay = this.calendar.get(Calendar.DAY_OF_MONTH);
              this.calendar.set(Calendar.DAY_OF_MONTH, 1);
              int firstDayOfMonthAsDayOfWeek = this.calendar.get(Calendar.DAY_OF_WEEK);
              this.calendar.set(Calendar.DAY_OF_MONTH, currDay);
              int daysInMonth = this.getDaysInMonth();
              int row = 0;
              int key = 0;
              int dayToAdd = 0;
              for (int k = 1; k <= 42; k++)
                   if (k < firstDayOfMonthAsDayOfWeek || dayToAdd >= daysInMonth) this.days[row][key] = "";
                   else
                        dayToAdd++;
                        this.days[row][key] = ""+dayToAdd;
                        //Hack?
                        if (dayToAdd == currDay && this.getSelectedGridRow() == null && this.getSelectedGridColumn() == null)
                             this.setSelectedGridRow(row);
                             this.setSelectedGridColumn(key);
                   key++;
                   if (key == 7)
                        key = 0;
                        row++;
              return this.days;
         public int getCurrentMonth()
              int currentMonth = this.calendar.get(Calendar.MONTH);
              return currentMonth;
         public void setYear(int year)
         public void setMonth(int month)
    package org.w3style.calendar;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.table.*;
    import java.util.Calendar;
    import java.util.GregorianCalendar;
    public class CalendarEventController
         protected CalendarPanel ui = null;
         protected CalendarModel model = null;
         public CalendarEventController()
         public void setUI(CalendarPanel cal)
              this.ui = cal;
         public void setModel(CalendarModel m)
              this.model = m;
         public void addMonthDropdown(JComboBox months)
              months.addItemListener(new ItemListener() {
                   public void itemStateChanged(ItemEvent e)
                        if (e.getStateChange() == ItemEvent.SELECTED)
                             int monthSelected = ui.monthDropdown.getSelectedIndex();
                             model.getCalendar().set(Calendar.DAY_OF_MONTH, 1);
                             model.getCalendar().set(Calendar.MONTH, monthSelected);
                             //update days in table model, update ui
                             ui.getGrid().setModel(model.getTableModel());
                             ui.configureTable();
                             ui.getGrid().updateUI();
    }I could have finished it but it was just going to be a buggy mess.

  • ADF Swing 11g - How to bind date picker

    Hello,
    My Swing application needs to use date picker control, and I decided to use JCalendar from www.toedter.com.
    Is there any example on binding such Swing component? Or are there other date picker control that can easily integrate into JDev and ADF for that matter?
    Thanks
    Regards,
    Rudi

    Mmm well i don't know if this can help you
    I am using a date picker too, this is the code where I use it
    <af:selectInputDate label="#{bundle[\'newPatient.birthday\']}"
                                          required="true"
                                          requiredMessageDetail="#{bundle[\'newPatient.validate.birthday\']}"
                                          binding="#{PatientCreateBean.birthday}"/>My binding property is PatientCreateBean.birthday
    and birthday is type CoreSelectInputDate
    I got info about the different elements to use in ADF from the following link
    http://www.oracle.com/technology/products/jdev/htdocs/partners/addins/exchange/jsf/doc/tagdoc/core/imageIndex.html
    I hope this can help you

  • Date picker - is there a way to restrict the minuit select list to 1/4 hr

    Hi,
    When using date picker item with format 'DD-MON-YYYY HH24:MI',
    Is there a way to restrict the minuit select list on the calendar to 1/4 hr instead of 00 to 59. Example: 00,15,30,45
    Thank you,
    Francis

    Hold down command key to select multiple songs, then "Get Info", and you will modify all fields at the same time.

  • Date picker's session state

    Hi,
    I have problems with date picker. There is a tabular form with several columns and one of them is Date. I have chosen a date picker instead of textfield so that user can choose a date easier. When user clicks Submit button, validation runs. My validation gives error message on Error Page. When user clicks 'OK' link on Error Page browser should go back to previous page without refreshing it so that there are still invalid values in form's fields entered by user before validation. But when I use Date picker the tabular form is being refreshed and all the input is lost. When I use textfield for Date column everything works fine - user clicks an 'OK' link on Error Page and he/she is taken to previous page where invalid data is still there in form.
    Is it possible to save a session state of a Date picker using Error Page? If not, is it possible to implement a mask for textfield in Date column so that when user writes the date he/she can see the format he/she should use?
    Regards,
    Tom

    Hi Phil,
    The problem is that it does not matter what the date format is set. The problem seems to be that date picker just exists in form! It seems that if there is a date picker in tabular form then the page always refreshes, it cannot be restored with javascript (history go -1).
    So is it possible to save date pickers session state or to solve this problem in any other way?
    Regards,
    Tom

  • This is about date picker like a calendar

    I am having issues on how to use date picker in a design i am working on and i need help here.Php or Java script.
    I need your solutions`. i will really appreciate.

    The code is in the link provided.
    1. Link to jQuery javascript library
    2. Link to jQuery UI library
    3. Link to jQuery UI CSS styles
    4. Add a field for the date
    5. Add a script to fire the jQuery UI
    <!doctype html>
    <html lang="en">
    <head>
    <meta charset="utf-8" />
    <title>jQuery UI Datepicker - Default functionality</title>
    <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" />
    <script src="http://code.jquery.com/jquery-1.9.1.js"></script>
    <script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
    <script>
    $(function() {
    $( "#datepicker" ).datepicker();
    </script>
    </head>
    <body>
    <p>Date: <input type="text" id="datepicker" /></p>
    </body>
    </html>
    Message was edited by: Rik Ramsay. Missed the CSS off the code, now added.

  • BCS: Pass a filter based on current SPSite to ReadList method from External Data Picker on list item form

    Hi,
    I am using a BCS model to get external data. I have set this up with filters and it works fine. What I would like is to assign a filter value based on the current SharePoint site. This is because I have multiple SharePoint sites that use the same BCS model,
    but the user only needs to see certain records per each site. I have found ways to do this by adding and connecting web parts to a custom page. However, my particular need is to do this for the external item picker that pop up on the list item new and edit
    form.
    I hope my question is clear and look forward to your answers. Please not that this question is specifically related to the external data picker on the new and edit form.
    Regards,
    Andreas

    Hi Andreas,
    Thanks for posting your issue, Kindly find the CAML query that you can use to pass the filter value based on your SPSite 
    <View>
    <Method Name='ReadList'>
    <Filter Name='ABCName' Value='{0}'/>
    </Method>
    <Query>
    <Where>
    <Contains>
    <FieldRef Name='Name'/>
    <Value Type='Text'>{0}</Value>
    </Contains>
    </Where>
    </Query>
    <ViewFields>
    <FieldRef Name='Name'/>
    <FieldRef Name='Id'/>
    <FieldRef Name='BdcIdentity'/>
    </ViewFields>
    </View>
    Be sure to replace the filter Name attribute value with your own FilterDescriptor name as defined in BCS model and Value attribute with your own value.
    I hope this is helpful to you, mark it as Helpful.
    If this works, Please mark it as Answered.
    Regards,
    Dharmendra Singh (MCPD-EA | MCTS)
    Blog : http://sharepoint-community.net/profile/DharmendraSingh

Maybe you are looking for

  • How do I show the Develop Module settings when I open up an image I've exported from LR 4.4?

    Say I have a preset that I use upon import.  I import some raw files using that preset but decide to tweak the settings a bit per each image.  IOW, now they are different than my preset. I now export from a tweaked raw file a jpeg.  If I later import

  • Security message on exporting grid to excel from webpage

    I am exporting data to excel from grid on a webpage. I have written following code: gv.DataSource = resultlist; gv.DataBind(); Response.ClearContent(); Response.AddHeader("content-disposition", "attachment; filename=Test.xls"); Response.ContentType =

  • Help with Macbook

    I accidently put my Installation Disk for iMac in my Macbook and now it is stuck.  Any suggestions?

  • Print Program for Adobe Form QM_8D_Report

    Hello, I want to use the given Adobe form "QM_8D_REPORT" but I can not find a basic print program in SE38 for it. Do I need to write the whole print programm from beginning or is there a default print programm delivered by SAP which I can use? Thank

  • Brush Issues w/Mac Mt. Lion retina display

    I have contacted Adobe about issues with Photoshop brushes recently.  My issue is that the brush size is smaller than the circle that represents the brush.  In other words, when I hoover over the area that I want to paint or erase with the circle and