The filter expression is on external data and could not be validated.

The filter expression is on external data and could not be validated. It may not be supported in Web browser forms.
I am reciveing this error in my infopath 2010 browser form when I am trying to filter a drop down list from sharepoint.
I thought filters were available on infopath 2010 browser forms or are they only available from values inside the form?
I did have a look around the forums but only could find this error occuring during beta stage.
Thanks

Ok, so you shouldn't be filtering in the form, because that means it downloads the entire list first and then filters out the items.  That's client-side filtering.  What you want to do is server-side filtering by doing a parameterized query.
Set the data connection NOT to automatically download
Add Form Load rules that do the following:
First, "Set a Field's Value" and set the position query node of the data connection to the value of "manager" (whatever the exact syntax is)
Then query the data connection
Doind this should make it ONLY download items where position=manager instead of downloading all items and filtering.  This is a much better practice and was not even available in 2007, so you should make full use of it in 2010.  Even so, what you
were doing should have worked anyway, so I'm not sure what's going on there.
When you do the filtered dropdown, your Source field should be the repeating group of the data connection, not the property itself.  The property should only be selected in Value and DisplayName.  The group should be in the Source field, and THAT'S
where you apply the filter.
SharePoint Architect || Microsoft MVP ||
My Blog
Planet Technologies ||
SharePoint Task Force

Similar Messages

  • Ever since I upgraded iPhoto to 9.5, my camcorder videos aren't all downloading properly  and I have several of the videos to say a necessary data reference could not be found.  I also can see many of the pixels on the video footage that was downloaded???

    ever since I upgraded iPhoto to 9.5, my camcorder videos aren't all downloading properly  and I have several of the videos to say a necessary data reference could not be found.  I also can see many of the pixels on the video footage that was downloaded.  Anyone have any suggestions???

    What version of iPhoto and system are you using?  Also what camera make and model are you using?
    See if you can download all of the videos to a folder on the Desktop using Image Capture and import  into iPhoto from that folder.
    OT

  • HT5534 What size is the download ? - my router is limited and could not download IOS6

    What size is the i work update 9.3?

    A few hundred Mb, not sure exactly, just let it run.
    It will get there eventually or else go hang off someone else's free WiFi.
    An AppleStore is good.
    Peter
    PS Just noticed you are talking to cross purposes. Are you after the iOS version or the Mac OSX version?

  • HT4587 I downloaded Airport Express Utility 5.6 to get my Airport Express to work with the latest Mac OSX 10.7.4, but when I install and run it, it still says my Airport Express is out-of-date and needs the 5.6 utility.

    I downloaded and installed Airport Express Utility 5.6 to get my old Airport Express to work with the latest Mac OSX 10.7.4, but when I install and run it, it still says my Airport Express is out-of-date and needs the 5.6 utility. What's up?

    It is likely that you downloaded AirPort Utility 5.6.1.  If you checked the requirements, this only runs on Leopard or Snow Leopard Macs.
    You have Lion, so you need AirPort Utility 5.6 for Mac OS X Lion

  • How to use the prompted value in the filter expression

    Hi
    Is it possible to use the prompted value in the filter expression?
    My requirement is that user will be prompted for a date field and I need to filter the records such that the records are displayed for the last 5 weeks from the date entered by the user.
    If somehow I know how to use the prompted value in the filter expression then this requirement is easy to be done. If this is possible, please guide me?
    If there are other ways to acheive the desired results then please suggest.
    Thanks
    -Jaz

    Edit: example added
    SQL> create table tb_test
      2  ( id number(5)
      3  , tot number(5)
      4  , mon_tot number generated always as (tot*15) virtual
      5  );
    Table created.
    SQL> insert into tb_test (id, tot) values (1, 5);
    1 row created.
    SQL> select * from tb_test;
            ID        TOT    MON_TOT
             1          5         75
    1 row selected.
    SQL> update tb_test
      2  set    tot = 15
      3  where  id = 1;
    1 row updated.
    SQL> select * from tb_test;
            ID        TOT    MON_TOT
             1         15        225
    1 row selected.

  • Using report parameter in data set filter expression with an SSAS data source

    I have an SSRS report with an SSAS data source.
    Report parameters:
    Param1 - text, single select
    Param2 - text, multi-select
    Dataset:
    In Query Designer, I want to include Param1 as a filter expression so I can have "Dimension1 Begins with @Param2". I'm not sure the exact syntax to make param2 work in this.
    The point is to filter my data set on param1. If A is selected for param1, I want the data set to have the filter saying "Dimension1 begins with A"
    Anyone know how to use a report parameter in the dataset filter expression for an ssas data source?

    hi,
    try this maybe the dates you are comparing are not in the same format.
    I test data template in EBS but not with dates.
    to_date(date,'dd/mm/YY') between to_date(:p_from_date ,'dd/mm/YY') and to_date(:p_to_date ,'dd/mm/YY')
    if dont works try to put values insted of your parameter like :
    to_date(date,'dd/mm/YY') between to_date(:p_from_date ,'10/01/07') and to_date(:p_to_date ,'01/12/07') ... put dates where u can have some values in report...
    if dont work then try to print the values of the 2 parameters and the date of the select somwhere in ur report to see what you have in it..
    hope it helps..
    Regards Joe.

  • Using sql in the filter expression

    For a project I need to use a filter which is a construction
    with BETWEEN dateFrom AND dateTo.
    But the user does not choose these datevalues,
    he chooses timePeriods which have a unique startDate.
    The dashboard prompts are populated with these timePeriods and the user chooses 2 of these and 2
    presentation variables are set.
    Now I need to retrieve the according startDate for a chosen timePeriod.
    I tried to do this using a sub-query in the filter expression,
    but this seems not to be valid in Answers.
    In standard SQL it is expressed like this:
    select table1.* from table1
    where table1.dateValue  BETWEEN
    +(select table2.startDate from table2 where table2.timePeriod = 'theChosenValue1')+
    AND
    +(select table2.startDate from table2 where table2.timePeriod = 'theChosenValue2')+
    The return of the subqueries are single row, as it should in such constructions.
    I want the where clause to be in the filter expression for the dateValue column in Answers.(trimming of the WHERE keyword)
    Is there any other construction that does this trick in the BI Answers/Dashboard environment to do this?
    Kind regards

    Hi Micek,
    Thanks for your quick reaction.
    Yes you are right the ChosenValues will be replaced by presentation-variables in the final dashboard,
    I just am testing it with constant values in the Answers module.
    The problem seems to be that it is not allowed to use a sub-query in the filter expression.
    The Answers web application says there is a syntax problem near <select>, while I expect the SQL to be valid.
    I guess not all regular SQL is allowed in filter expressions.
    And since the report does not try to fetch data, no log of a generated, real SQL is written to the logfile.
    I need some alternative for the subquery, but one that is allowed in the filter expression.
    The problem is based on the fact that the user chooses a different value then the one that is filtered on.
    The timePeriods represent just one startDate, but I cannot use timePeriod itself to filter on.
    Because I need a between value, wich does not make sense for a timePeriod element
    such as '01-08' or 'JAN-08'.
    Several timePeriod notations are used, so using SubString and || to calculate a numeric value from the timePeriod varchar2 is not a good option.
    The error says:      
    Error getting drill information: SELECT "....
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 27002] Near <SELECT>: Syntax error [nQSError: 26012] . (HY000)
    Any input is welcome
    kind regards

  • How to get the most current file based on date and time stamp using SSIS?

    Hello,
    Let us assume that files get copied in a specific directory. We need to pick up a file and load data. Can you guys let me know how to get the most current file based on date and time stamp using SSIS?
    Thanks
    thx regards dinesh vv

    hi simon
    i excuted this script it is giving error..
       Microsoft SQL Server Integration Services Script Task
       Write scripts using Microsoft Visual C# 2008.
       The ScriptMain is the entry point class of the script.
    using System;
    using System.Data;
    using Microsoft.SqlServer.Dts.Runtime;
    using System.Windows.Forms;
    namespace ST_9a6d985a04b249c2addd766b58fee890.csproj
        [System.AddIn.AddIn("ScriptMain", Version = "1.0", Publisher = "", Description = "")]
        public partial class ScriptMain : Microsoft.SqlServer.Dts.Tasks.ScriptTask.VSTARTScriptObjectModelBase
            #region VSTA generated code
            enum ScriptResults
                Success = Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Success,
                Failure = Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Failure
            #endregion
            The execution engine calls this method when the task executes.
            To access the object model, use the Dts property. Connections, variables, events,
            and logging features are available as members of the Dts property as shown in the following examples.
            To reference a variable, call Dts.Variables["MyCaseSensitiveVariableName"].Value;
            To post a log entry, call Dts.Log("This is my log text", 999, null);
            To fire an event, call Dts.Events.FireInformation(99, "test", "hit the help message", "", 0, true);
            To use the connections collection use something like the following:
            ConnectionManager cm = Dts.Connections.Add("OLEDB");
            cm.ConnectionString = "Data Source=localhost;Initial Catalog=AdventureWorks;Provider=SQLNCLI10;Integrated Security=SSPI;Auto Translate=False;";
            Before returning from this method, set the value of Dts.TaskResult to indicate success or failure.
            To open Help, press F1.
            public void Main()
                string file = Dts.Variables["User::FolderName"].Value.ToString();
                string[] files = System.IO.Directory.GetFiles(Dts.Variables["User::FolderName"].Value.ToString());
                System.IO.FileInfo finf;
                DateTime currentDate = new DateTime();
                string lastFile = string.Empty;
                foreach (string f in files)
                    finf = new System.IO.FileInfo(f);
                    if (finf.CreationTime >= currentDate)
                        currentDate = finf.CreationTime;
                        lastFile = f;
                Dts.Variables["User::LastFile"].Value = lastFile;
                Dts.TaskResult = (int)ScriptResults.Success;
    thx regards dinesh vv

  • PowerShell Script to get the details Like Scope,Last Deployed date and Name for a Solution Deployed in the Farm.

    Hi Experts,
    I am trying to  build a PowerShell Script to get the details Like Scope,Last Deployed date and Name for a Solution Deployed in the Farm.
    Can anyone advise on this please.
    Regards

    Get-SPSolution|Select Name,Scope,LastOperationResult,LastOperationEndTime|Export-CSV "SPInstalledSolutions.csv" -NoTypeInformation
    SPSolution properties
    Get-SPSolution
    This post is my own opinion and does not necessarily reflect the opinion or view of Slalom.

  • What are the steps to restore all deleted data and settings by remote wipe? Thanks.

    What are the steps to restore all deleted data and settings by Remote wipe?

    Go to me.com, logon and go to the FindMyiPhone. If it does not appear then there is not much you can do.
    Next step would be to appleid.apple.com and change your password to cut off access to your iDisk.

  • What is the best way to captue current date and time?

    I got a field in table to capute current date and time...i am
    using SQL Server.
    field name datatype length
    enter_datetime datetime 8
    What is the best way to get current date and time and insert
    to table?.
    Is this way?.
    <cfset curtime = 'dateformat(#now()#,'mm/dd/yyyy')&"
    "&timeformat(#now()#,'hh:mm:ss')'>
    This way looks like time is not entered correctly.
    or any other better way?.

    > get current date and time and insert to table?
    You can use cfqueryparam
    <cfqueryparam value="#now()#"
    cfsqltype="cf_sql_timestamp">
    Or as was suggested, set the default for your table column to
    getdate(). Then you won't have to insert anything. Sql server will
    do it automatically when a new record is created.

  • Unable to install Adobe Photoshop Elements 13, from disc. The disc is rejected in DVD RW drive, no dialogue box comes up. The  DVD driver is up to date and have updated flash player.

    Unable to install Adobe Photoshop Elements 13, from disc. The disc is rejected in DVD RW drive, no dialogue box comes up. The DVD driver is up to date and have updated flash player.

    Downloads available:
    Suites and Programs:  CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4 | CS3
    Acrobat:  XI, X | 9,8 | 9 standard
    Premiere Elements:  13 | 12 | 11, 10 | 9, 8, 7
    Photoshop Elements:  13 |12 | 11, 10 | 9,8,7
    Lightroom:  5.7.1| 5 | 4 | 3
    Captivate:  8 | 7 | 6 | 5
    Contribute:  CS5 | CS4, CS3
    Download and installation help for Adobe links
    Download and installation help for Prodesigntools links are listed on most linked pages.  They are critical; especially steps 1, 2 and 3.  If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'.

  • HT201263 my phone can not going upto date .and can not open.only coonnect to itune pic is on the mobile when i switch on

    my phone can not going upto date .and can not open.only coonnect to itune pic is on the mobile when i switch on

    found the solution on the forum already!

  • Deployment Issue: The saved State dictionary contains inconsistent data and might have been corrupted.

    Hi,
    I have been working on a C# project. It all works fine except the installer. I can install the project but if I then repair it and then try to un-install it I get the following error:
    "An exception occured while uninstalling. This excepion will be ignored and the uninstall will continue. However, the application might not be fully uninstalled after the uninstall is complete --> The saved State dictionary contains inconsistent data and might have been corrupted."
    This error happens whenever I try to un-install/repair/modify it having previously tried to repair it. It seems that in repairing it the .InstallState file becomes corrupted. I can un-install it by replacing the .Installstate file with a working version. However the end users will not know how to do this. Is there any way of fixing this?
    Just in case it is important: It's a Framework 2 project, built in VS2005, it consists of a windows service and a forms application the service relies heavily on SOAP.
    Thanks for any help,
    Joe

    I've got almost the same problem
    I can't uninstall service that was just installed with install util. Error message is
    An exception occurred during the uninstallation of the .Service.WindowsService.ProjectInstaller installer.System.ArgumentException: The savedState dictionary contains inconsistent data and might have been corrupted.
    There was no repair or modify after install.
    Then I had removed .InstallState file and installUtil did not find any problem in savedState dictionary ;-)
    I checked InstallState file but have not found any visible problem with it
    Please take a look if you know what is InstallState file
    https://onedrive.live.com/redir?resid=5622404b58b0055f!132&authkey=!AA0PsRyTJUTdPgk&ithint=file%2cInstallState
    Regards

  • I get the message  on Apple TV "setting date and time"

    I get the message  on Apple TV "setting date and time", but seems to be stuck in that action. When I check, network settings, everything seems OK.  Any suggestions?

    This will normally happen if you continually turn the AppleTV off at the wall (happens each time you turn it on). If its stuck on that, just turn it completely off, then see if it gets stuck on that again. If it keeps getting stuck (as in for more than 5 minutes) on it, plug it into your computer and attempt to update the AppleTV. You may need to restore it if the software is already up to date or it's still not working after the update.

Maybe you are looking for