Parameterizing a view to use with IN list queries..

Brief bit of intro:
I'm writing an app that lets the user create a stored procedure of varying number of arguments. One or more of these arguments will be of the form:
1,2,3
'a','b','c'
Supplied as strings, and without using dynamic sql, it becomes difficult to use them as IN-list arguments because we essentially have the IN operator searching for a record that contains the literal text 1,2,3 rather than looking for records that match on 1 or 2 or 3
Having done some reading, it would appear that I can pull this trick:
SELECT
   TRIM(SUBSTR(src, INSTR(src, ',', 1, LEVEL)+1, INSTR(src, ',', 1, LEVEL+1) - INSTR(src, ',', 1, LEVEL)-1)) output
FROM
   t
CONNECT BY ROWNUM<=LENGTH(src) - LENGTH(replace(src,','))-1Where src is the string list
Now thats quite cumbersome, so I'd like to hide it. Tom gives us a way that I dont fully understand, but it seems to basically be of setting an Oracle environment variable of name XYZ to value 'a','b','c' - i.e. our string, and then writing a view that targets the variable.
My first question is, can someone help me out with a bit of code that does that?
Is there a problem with using the variable, because what happens if someone else calls this procedure while I am still calling it - is it possible that their call will set my env var to something else before my sql is run? How can I localise the environment variable to me/my session only?
Also could you provide an example PL/SQL of how it would be used?
I guess something like:
PROCEDURE xyz(in_list varchar2)
IS BEGIN
  set_environment_var(XYZ, in_list);
  SELECT 1 FROM table WHERE inlistcolumn IN (SELECT * FROM in_list_view)
ENDin_list_view is the view that targets env variable XYZ. Other bits are mainly pseudocode because I dont know how/where to set the environment variable.
The second question I have is:
Once I have this in place, am I correct in thinking that I will have to create two views if I wish to write a query that has 2 in-list clauses?
i.e.
PROCEDURE xyz(in_list_one varchar2, in_list_two varchar2)
IS BEGIN
  set_environment_var(XYZ, in_list_one);
  set_environment_var(ABC, in_list_two);
  SELECT 1 FROM table WHERE in_list_column IN (SELECT * FROM in_list_view_XYZ) and other_in_list_column IN (SELECT * FROM in_list_view_ABC)
ENDFor N in list ops, i must have N queries and N environment variables, yes?

I've never used Tom's environment variable approach, but here's a different technique you may wish to consider (assuming you're on 10g).
SQL*Plus: Release 10.2.0.1.0 - Production on Fri Jun 29 15:20:55 2007
create table t ( n number, v varchar2(10) );
Table created.
insert into t values ( 1, 'a' );
1 row created.
insert into t values ( 2, 'b' );
1 row created.
insert into t values ( 3, 'c' );
1 row created.
insert into t values ( 4, 'd' );
1 row created.
insert into t values ( 5, 'e' );
1 row created.
commit;
Commit complete.
-- for numeric in-list
variable d varchar2(1)
variable p varchar2(10)
execute :d := ',' ;
PL/SQL procedure successfully completed.
execute :p := '1,2,3' ;
PL/SQL procedure successfully completed.
select *
from t
where n in
  ( -- this query converts string '1,2,3' into
    -- three rows containing 1, 2, and 3
    select val
    from   dual
    model
      return updated rows
      dimension by ( 0 as position )
      measures     ( :p || :d as val )
      rules upsert
      ( val
        [ for position
            from 1
            to   length( regexp_replace( val[0], '[^'||:d||']', null ) )
            increment 1
        ] = rtrim( regexp_substr( val[0], '.*?' || :d, 1, cv(position) ), :d )
order by 1 ;
         N V
         1 a
         2 b
         3 c
3 rows selected.
-- for string in-list
execute :d := ',' ;
PL/SQL procedure successfully completed.
execute :p := '''a'',''b''' ;
PL/SQL procedure successfully completed.
select *
from t
where v in
  ( -- this query converts string 'a','b' into
    -- two rows containing 'a' and 'b'
    select val
    from   dual
    model
      return updated rows
      dimension by ( 0 as position )
      measures     ( replace( :p || :d, '''', null ) as val )
      rules upsert
      ( val
        [ for position
            from 1
            to   length( regexp_replace( val[0], '[^'||:d||']', null ) )
            increment 1
        ] = rtrim( regexp_substr( val[0], '.*?' || :d, 1, cv(position) ), :d )
order by 1 ;
         N V
         1 a
         2 b
2 rows selected.There are alternatives to using MODEL as well. Check out SQL Snippets: SQL Techniques Tutorials - String to Rows for some other approaches.
Joe Fuda
SQL Snippets

Similar Messages

  • OAF, View object used with the clausule setWhereClause, show the error  not have been properly initialized.

    Hi to all,
    I'm new with oaf and in mi AM i have to VO that I use to find relative information to the one is shown to the user on a query region, after the user pressed the go buton  the CO request the AM tho load both VO and those information are used to show in a popup region to display and update. the main problem is when the popup region closes it send a submit to the server an the error "View object may not have been properly initialized during Update." is displayed
    The main page and the popup uses the same AM, the initM2mVo() and initTavleVo() are  called by the CO at the processRequest of the main PG, the popup dosen´t have a CO.
    This the AM that uses the main PG and the popup region
    package tasc.oracle.apps.tasc.m2m.imei.server;
    import oracle.apps.fnd.framework.OAViewObject;
    import oracle.apps.fnd.framework.server.OAApplicationModuleImpl;
    import oracle.apps.fnd.framework.server.OAViewObjectImpl;
    import oracle.jbo.Row;
    import oracle.jbo.ViewObject;
    // ---    File generated by Oracle ADF Business Components Design Time.
    // ---    Custom code may be added to this class.
    // ---    Warning: Do not modify method signatures of generated methods.
    public class ActualizarImeiAMImpl extends OAApplicationModuleImpl {
        /**This is the default constructor (do not remove)
        public ActualizarImeiAMImpl() {
        /*******************************USE FOR CUSTOM CODE****************************/
         * Inicializa el vo a través del cual se ejecutara la actualización del IMEI.
         * @param taskNumber
        public void loadImeiVo(String taskNumber) {
            OAViewObject voTableQry = getTableQryVO1();
            if (voTableQry != null) {
                voTableQry.reset();
                voTableQry.setWhereClause(null);
                voTableQry.setWhereClauseParams(null);
                voTableQry.setWhereClause("TASK_NUMBER = :1");
                voTableQry.setWhereClauseParam(0, taskNumber);
                voTableQry.executeQuery();
                if (voTableQry.hasNext()) {
                    voTableQry.next();
                    String idActuacion =
                        (String)voTableQry.getCurrentRow().getAttribute("IdActuacion");
                    String dsM2m =
                        (String)voTableQry.getCurrentRow().getAttribute("DsM2m");
                    String imei =
                        (String)voTableQry.getCurrentRow().getAttribute("Imei");
                    if (idActuacion != null) {
                        OAViewObjectImpl m2mVo = (OAViewObjectImpl)this.getTascTransEqInstM2mVO1();
                        m2mVo.reset();
                        if (!m2mVo.isPreparedForExecution()) {
                            m2mVo.setMaxFetchSize(0);
                            m2mVo.executeQuery();
                        m2mVo.setWhereClause(null);
                        m2mVo.setWhereClauseParams(null);
                        m2mVo.setWhereClause("ID_ACTUACION = :1 AND DS_M2M = :2 AND IMEI = :3 ");
                        m2mVo.setWhereClauseParam(0, idActuacion);
                        m2mVo.setWhereClauseParam(1, dsM2m);
                        m2mVo.setWhereClauseParam(2, imei);
                        m2mVo.executeQuery();
                        if(m2mVo.hasNext()){
                            m2mVo.next();
         * Carga los valores disponibles de IMEI según el taskNumber al cual pertenezca
         * el  IMEI seleccionado.
        public void loadImeiValuesList(String taskNumber) {
            ViewObject viewobject = this.getImeiListVO1();
            OAViewObject voTableQry = getTableQryVO1();
            if (voTableQry != null && voTableQry.getCurrentRow() != null) {
                String imeiType =
                    (String)voTableQry.getCurrentRow().getAttribute("Attribute17");
                if (viewobject != null & imeiType != null) {
                    viewobject.setWhereClause(null);
                    viewobject.setWhereClauseParams(null);
                    viewobject.setWhereClause("TASK_NUMBER = :1 AND ATTRIBUTE17 = :2");
                    viewobject.setWhereClauseParam(0, taskNumber);
                    viewobject.setWhereClauseParam(1, imeiType);
                    viewobject.executeQuery();
        /*******************************USE FOR CUSTOM CODE****************************/
        /**Container's getter for TableVO1
        public OAViewObjectImpl getTableVO1() {
            return (OAViewObjectImpl)findViewObject("TableVO1");
        /**Sample main for debugging Business Components code using the tester.
        public static void main(String[] args) { /* package name */
            /* Configuration Name */launchTester("tasc.oracle.apps.tasc.m2m.imei.server",
                                                 "ActualizarImeiAMLocal");
        /**Container's getter for TascTransEqInstM2mVO1
        public OAViewObjectImpl getTascTransEqInstM2mVO1() {
            return (OAViewObjectImpl)findViewObject("TascTransEqInstM2mVO1");
        /**Container's getter for ImeiListVO1
        public OAViewObjectImpl getImeiListVO1() {
            return (OAViewObjectImpl)findViewObject("ImeiListVO1");
        /**Container's getter for TableQryVO1
        public OAViewObjectImpl getTableQryVO1() {
            return (OAViewObjectImpl)findViewObject("TableQryVO1");
    this is the CO of the main PG
    /*===========================================================================+
    |   Copyright (c) 2001, 2005 Oracle Corporation, Redwood Shores, CA, USA    |
    |                         All rights reserved.                              |
    +===========================================================================+
    |  HISTORY                                                                  |
    +===========================================================================*/
    package tasc.oracle.apps.tasc.m2m.imei.webui;
    import java.io.Serializable;
    import oracle.apps.fnd.common.VersionInfo;
    import oracle.apps.fnd.framework.OAApplicationModule;
    import oracle.apps.fnd.framework.webui.OAControllerImpl;
    import oracle.apps.fnd.framework.webui.OAPageContext;
    import oracle.apps.fnd.framework.webui.TransactionUnitHelper;
    import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    import oracle.apps.fnd.framework.webui.beans.layout.OAQueryBean;
    * Controller for ...
    public class ActualizarImeiCO extends OAControllerImpl {
        public static final String RCS_ID = "$Header$";
        public static final boolean RCS_ID_RECORDED =
            VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
         * Layout and page setup logic for a region.
         * @param pageContext the current OA page context
         * @param webBean the web bean corresponding to the region
        public void processRequest(OAPageContext pageContext, OAWebBean webBean) {
            super.processRequest(pageContext, webBean);
            //get the handle to AM Attached to our Simple Page Region MainRegionRN
            //The page is passed as parameter to this method, hence we can get handle
            //to the AM quite easily
            OAApplicationModule am = pageContext.getApplicationModule(webBean);
            //verifica si la transaccion de creacion esta activa todavia
            if (TransactionUnitHelper.isTransactionUnitInProgress(pageContext,"ActualizarImeiM2m", false))
                // deshace cambios y finaliza Txn
                am.invokeMethod("rollback");
                TransactionUnitHelper.endTransactionUnit(pageContext, "ActualizarImeiM2m");
         * Procedure to handle form submissions for form elements in
         * a region.
         * @param pageContext the current OA page context
         * @param webBean the web bean corresponding to the region
        public void processFormRequest(OAPageContext pageContext,
                                       OAWebBean webBean) {
            super.processFormRequest(pageContext, webBean);
            //get the handle to AM Attached to our Simple Page Region MainRegionRN
            //The page is passed as parameter to this method, hence we can get handle
            //to the AM quite easily
            OAApplicationModule am = pageContext.getApplicationModule(webBean);
            //Detección del botón go de la región de query.
            this.queryButonGO(pageContext, webBean, am);
            this.updateImei(pageContext, am);
         * Detección del botón go de la región de query
         * @param pageContext
         * @param webBean
         * @param am
        public void queryButonGO(OAPageContext pageContext, OAWebBean webBean,
                                 OAApplicationModule am) {
            OAQueryBean queryBean =
                (OAQueryBean)webBean.findIndexedChildRecursive("QueryRN");
            String idGo = queryBean.getGoButtonName();
            if (pageContext.getParameter(idGo) != null) {
                String tareaId = pageContext.getParameter("TaskNumberLovInput");
                //Inicializa el vo a través del cual se ejecutara la actualización del IMEI.
                Serializable[] parameters2 = { tareaId };
                Class[] paramTypes2 = { String.class };
                am.invokeMethod("loadImeiVo", parameters2, paramTypes2);
                //Carga los valores disponibles de IMEI según el taskNumber al cual pertenezca  el  IMEI seleccionado.
                Serializable[] parameters = { tareaId };
                Class[] paramTypes = { String.class };
                am.invokeMethod("loadImeiValuesList", parameters, paramTypes);
        public void updateImei(OAPageContext pageContext, OAApplicationModule am){
            if (pageContext.getParameter("ActualizarImei") != null){
                String imei = pageContext.getParameter("ImeiPopup");
                //TODO......
    thanks to all.

    I thing I got the problem.
    I have the following configuration:
    One Main Page and external RN that is call as popup in main page
    2 VO, queries by java code, one to capture some information that is used to query the 2 VO that I use to update information by the popup.
    One AM that is map only in the Main Page. (Initially I had the external RN mapped to same AM as the main PG, but I remove it).
    The solution was remove the mapping of the AM from the external region and in the messageimput of the external region set the View instance and view Attribute manually in this fields (http://screencast.com/t/uDTALEedCh do not use the wizard ) as the one instanced am the AM, so the problem it seem that was that defining an AM to the external region create a new instance, causing that it can not see the information that I load manually in the VO by query it them.
    for this case there is not need to use the next code, because the Rows are load with information by the query in the java code, this only will have to be made when inserting a new row .
        public void initM2mVo(){
            //get a handle to the View Object that we wish to initialize
            OAViewObject vo = (OAViewObject)this.getTascTransEqInstM2mVO1();
            if (!vo.isPreparedForExecution()) {
                vo.setMaxFetchSize(0);
                vo.executeQuery();
            //Create a blank Row
            Row row = vo.createRow();
            //Attach that blank row to the VO. Data will be fed into this row, when the user types into the fields
            vo.insertRow(row);
            //Set the status of the blank row to initialized. This tells OA Framework that record is blank and must not be included in DML
            //Operations until    changes are made to its underlying VO [via screen fields]
            row.setNewRowState(Row.STATUS_INITIALIZED);

  • Inventory listing report to view item balance with the model number in R3

    Hi,
    Anyone have any ideas does R3 provide standard report to view the report with inventory listing on balance,description,model number?
    Kindly provide the t-code.

    Hi Karen,
    Check the below reports (t-code's)
    MB52, MMBE, MB5B, MB51
    If you need additional info revert.
    if helpful award points
    Regards,
    Vivek

  • Compound filtering xslt list view web part with _dopostback using javascript/jquery

    Hello,
    I am filtering list view web part as same as the below post,
    http://dcsharepointchick.blogspot.in/2013/05/filter-sharepoint-list-with-partial-postback.html
    here I need to filter the web part with some another condition . I am trying to write another condition in filter attribute of _doPostback(), but it doesn't work.
    Please let me know is there any alternative to achieve compound filtering.
    Regards,
    Balakrishna M.

    Hi Balakrishna,
    According to your description, my understanding is that you want to filter the list view web part with more than one filters.
    I recommend to use the OOB Choice Filter web part to achieve this goal.
    Edit the page where the list view web part exists and then add the Choice Filter web parts to the page based on your need.
    More reference:
    http://office.microsoft.com/en-in/sharepoint-server-help/connect-a-filter-web-part-to-a-list-view-web-part-HA101785233.aspx#_Toc296943684
    Or you use the List Filter Plus Web Part to get the function.
    http://www.kwizcom.com/sharepoint-add-ons/sharepoint-list-filter-plus/overview/
    Here is the link to download the web part:
    http://www.kwizcom.com/sharepoint-add-ons/sharepoint-list-filter-plus/download/
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • SSRS reporting with sharepoint list using Distinct and Multivalue parameters

    i want create ssrs report with sharepoint list using ms-vs(2008). i want create Distinct multivalue parameters by using CAML query. There is any way we put CAML query where we use Distinct keyword and IN clause in CAML query... i hope all experts will
    understand my poor English... sorry for poor English.. plz help me

    Hi AsifMehmood,
    Per my understanding you have create an SSRS report with SharePoint list, now you don’t know to create the distinct parameters by using CAML query,  right?
    For the CAML language doesn’t have any reserved word (or tag) to set this particular filter to remove duplicate results, but we can use the custom code to do this function. I have tested on my local environment and we can do that by create one hidden parameter(Param1)
    to get all the values from the fields which will  add the filter and then create another parameter(Param2) to get the distinct values based on the Param1, we use the custom code to do the deduplication.
    Step by Steps information in below thread for your reference to create the parameters and the custom code:
    "How to get distinct values of sharepoint column using SSRS"
    Other similar thread for your reference:
    https://audministrator.wordpress.com/2014/02/17/sharepoint-list-add-distinct-parameter-value/
    If your problem still exists, please feel free to ask and also try to provide us more details information.
    Regards
    Vicky Liu

  • Data Sheet View - Cannot Connect to Server at This Time. You can continue working with this list, but some data may not be available

    After a couple of years of trouble free operation, one of the lists in our SharePoint Foundation site suddenly (overnight) started presenting the error against Datasheet views on lists.
    The view returns a large number of items when working correctly c.6K - however Throttling Settings have been adjusted accordingly some time ago without detrimental affect on SharePoint users and network in general. As admin and therefore throttling at 20k
    items the error message still presents.
    The view was working fine at 4:30pm Wednesday 27/3, but was returning the error at 8:30am the next morning. To my knowledge very few items (if any) had been added to the list between those times and no system level changes had been made (SharePoint,
    SQL Express, or virtual Windows 2008R2 server).
    The problem is most apparent on 2 lists in SharePoint. I've checked that the settings within SharePoint admin are set to deal with queries that should accommodate the
    number of rows that are returned by the views associated with that list. It is still possible to create new items to the list and access data via 'standard views' that are presented with groups that are collapsed.
    Items in Documents Libraries on other parts of SharePoint and within the same subsite can be accessed at what feels like pretty normal speed -though small query size
    may mean the problem is masked to a large extent.
    More Specific
    The lists still open in Standard View -though much more slowly than was the case before the above error started to present.
    List Details
    Referrals Tracker (10,442 items) -the list was 10,420 something items on Wednesday when all was working fine.
    LD Tracker (4,390 items)
    Both lists have grown incrementally over the period of a couple of years rather than by adding a block of data to the list. Items are added/ updated one at a time using the associated
    form or directly into cells within a datasheet  view.
    That it is also experienced against the smaller list suggests to me that the number of items in the Referrals Tracker is not the main factor here.
    In attempting to resolve the issue I have managed to get datasheet views working that deliver 100 items and c2k items. Both views present much more slowly than we would normally expect.
    Throttling Settings
    List view limit - 12K items - has been this high for some time without damaging SharePoint performance across the company.
    Actions Taken So Far (no improved performance seen)
    The SharePoint Foundation WSS Content DB did was closer to the 10GB SQL Express limit earlier this month, however a clear down and rationalisation of versioning settings
    was undertaken to ensure that did not become a problem going forward.
    We did a Shrink on Thursday (the day the issue started presenting) to rationalise whitespace as all indicators were that this was where the problem may lie, but this has
    not resolved the problem.
    The WSS Content DB now sits at c5.5GB.
    What I Need to Know
    1) I'd like to understand what is causing the problem?
    2) What the fix is? or,
    3) How I might go about diagnosing the problem further to arrive at a fix.
    With all the above, I'm part wondering if the problem is related to the virtual server or poss SQL Express related rather than being a 100% SharePoint issue?

    Hi
    afearn,
    More often this is related to columns which are not editable by user, some columns are not editable in datasheet view. Please check if there is any new column addition and then you started getting this issue.
    Also datasheet view displays all items on same page so definitely it takes little long time then load in standard view.
    Let us know your results, thanks
    Regards,
    Pratik Vyas | SharePoint Consultant |
    http://sharepointpratik.blogspot.com
    Posting is provided AS IS with no warranties, and confers no rights
    Please remember to click Mark As Answer if a post solves your problem or
    Vote As Helpful if it was useful.

  • List Tile View not working with include rule on iOS?

    hi Expert,
    I used the List Tile View with include rule in Agentry 6.0 on WinCE before to generate "selected" object list upon different conditions, e.g., assigning tasks based on scenarios.
    Currently, I am experimenting the same function on iOS tablet.
    On the start screen which is a detailed screen for main object, there is a List Tile View and an include rule. However, the objects in the tile list are not updated correctly when the output of the rule changes. Note that the same include rule works perfectly with a List View for the same collection.
    To my observation, the problem seems to associated with "update" of the tiles when result of include rule changes. For example, in scenario 1, there are 5 objects in the list; switching to scenario 2, there are 10 objects. From the No.6 to No.10, the objects are correct. The No.1 to No.5 are still the original 5 objects for scenario 1.
    When the user clicks on tiles, it makes the situation worse. Normally, a single object's tile will always be shown in the selected tile regardless which tile is selected from the list.
    My development environment is 6.0.40 and the client is 6.0.40 on iPad (iOS 7.1). I would like to know whether this is a known issue before I provide more details.
    Thanks.
    -Yang

    hi experts,
    When I asked the question on this list tile view refreshing issue, my dev environment is Agentry 6.0.38.
    In Agentry 6.0.40.1's release note, there is a fixed
    AG-25821  iOS 7 refresh issue with iPad tile list
    However, I currently have Agentry 6.0.42.1 on iPad (iOS 7.1.2). And my editor/server is 6.0.42.0. I still have the list tile view refreshing issue. The same rule can be used on list without any problem. But the list tile still has trouble on display the right set of objects.
    My question is is that fix related to the problem I saw?
    Thx.
    -Yang

  • Label of attribute when used as View Criteria item with Bind Variable

    I've a VO attribute used in a named search with this requirement:
    The attribute provides has an optional View Criteria item that has a bind variable operand. The bind variable is in the WHERE clause. The attribute has an LOV. The choice list for the specified View Criteria item should display the label "Effective Release". However, in all other contexts, including the search results table and the dropdowns the user can optionally add in an advanced search, the label displayed for the attribute must say "Release".
    In other words, the default label for the attribute should be "Release" in all but one context - which is that when the dropdown list for the viewCriteria item using the bind variable is displayed, the label should say "Effective Release".
    Note that if the user moves to Advanced Search and selects adds the attribute as a search criteria, this latter usage should be labeled as "Release". (in this case, in other words, the dropdown that displays by default and has the bind variable operand is labelled "Effective Release", the one the user added in advance search is labelled "Release")
    here is the View Criteria item source xml:
          <ViewCriteriaItem
            Name="ReleaseId1"
            ViewAttribute="ReleaseId1"
            Operator="="
            Conjunction="AND"
            Value=":v_ReleaseId"
            GenerateIsNullClauseForBindVars="false"
            ValidateBindVars="true"
            IsBindVarValue="true"
            Required="Required"/>I've experimented by putting "Effective Release" as the label for the bind variable as below. However, ADF does not use that value to display, it defers to the attribute value:
    <Variable
        Name="v_ReleaseId"
        Kind="viewcriteria"
        Type="oracle.jbo.domain.Number">
        <Properties>
          <SchemaBasedProperties>
            <LABEL
              ResId="EFFECTIVE_RELEASE_LOV"/>
          </SchemaBasedProperties>
        </Properties>
      </Variable>The reason for the requirement, if it matters, is that the View Criteria item with the bind variable ("Effective Release" queries a range of values using the analytic function rank(); the bind variable is in the WHERE clause. Otherwise, the dropdown that can be added in advanced search ("Release") looks for exact matches on the attribute value. So since the search functionality is different, the label should be different.
    Am using 11g.
    Thanks for your help.

    Hi
    I have found that when using validation type Key Exists and the VO is in the local application, then the bind variable is available in the Create Validation wizard. When I try and create a validator on a VO that is core to all my applications, then I put that VO into an ADF library, the bind variable parameter is not available for mapping to my entity object attribute, even though I can select the VO to create a view accessor from the ADF library.
    Possible bug?

  • Sharepoint list dataheet view error "Cannot connect to the server at this time. You can continue working with this list, but some data may not be available"

    I have a List which is having around 14000 items in it.while opening that list in datasheet view it is giving error .
    Below is a summary of the issue:
    After selecting datasheet view beow error occurs:
        "Cannot connect to the server at this time.  You can continue working with this list, but some data may not be available."
        "Unable to retrieve all data."
        The item counts displays say 100 out of 14000 items.
    Exporting List to excel is giving only 2000 records out of 14000 records.
    Other Observations   -  
    This is happening to only one list on the site .There are other lists in the site whose no. of records is equal to 8000 to 9000.They are working absolutely fine without any error.
    Also, If I am saving this list as a template and creating another list with it ,then it is working absolutely fine with 14000 records,so the issue does not seem to be related with no. of records as the template list is working fine.
    I have checked the Alternate access mapping setting ,its fine.
    It should not be related to lookup,datefield or any other column as the list created from it template is working fine with all these columns.
    I checked below links also ,but doesn't seem to work in my case.
    http://social.technet.microsoft.com/forums/en-US/sharepointadminprevious/thread/974b9168-f548-409b-a7f9-a79b9fdd4c50/
    http://social.technet.microsoft.com/Forums/en-US/smallbusinessserver/thread/87077dd8-a329-48e8-b42d-d0a8bf87b082
    http://social.msdn.microsoft.com/Forums/en-US/sharepointgeneral/thread/dc757598-f670-4229-9f8a-07656346b9b0

    I have spent two days to resolve this issue. Microsoft has released two KBs with reference to this issue...but are not appearing in search results at the top.
    I am sharing my finding.
    1. First install the
    KB2552989 (Hopefully you might have already installed it. The KB detetcts it and informs the user.)
    2. Then update registry by adding new key for data fetch timeout as mentioned inKB2553007
    These two steps resolved the issue in our environment. Hope it might help others as well.
    Pradip T. ------------- MCTS(SharePoint 2010/Web)|MCPD(Web Development) https://www.mcpvirtualbusinesscard.com/VBCServer/paddytakate/profile

  • Podcast List view not updated with iTunes 11.3.1.2

    Podcast List view not updated with iTunes 11.3.1.2
    Windows 7 Enterprise Service Pack 1 / Intel-i7 2.40 GHz / 8GB RAM / 64-bit
    iTunes 11.3.1.2
    After refreshing my Podcast list, some Podcasts with new episodes do not display the "Unplayed" blue dot.
    If the podcast "folder" is expanded by clicking the triangle, the new episodes are shown with a "Unplayed" blue dot.
    A new episode is shown in the My Podcast view, with the correct number of new episodes.
    The new episodes are displayed in the All Unplayed view.
    I've tried deleting all episodes and downloading new episodes from the iTunes Store.
    I've tried Unsubscribing and deleting the podcast, then Subscribing again from the iTunes Store.
    Neither attempt resolved the issue.
    I've seen this issue for a while, and was disappointed to find no change with the iTunes 11.3.1.2 update.

    it finally worked; got my Rush 24/7 downloaded, and it finally found my iPhone after switching from the USB 4 port Hub to a dedicated USB 2.0 slot on my laptop.

  • How create animated power view reports using sharepoint list as a data source in sharepoint 2010?

    Hi All,
    I got a client requirement to create reports using SharePoint List as data source. The report should show reflection depends on values changed (I mean animation).
    I have heard about the power view/power pivot which does this kind of animations in reports.
    Can someone please guide me on creating reports which shows animations
    In power view/power pivot using SharePoint List as data source in SharePoint 2010.
    Thanks in advance.
    MercuryMan

    Hi MercuryMan,
    Yes, Power View, a feature of SQL Server 2012 Reporting Services Add-in for Microsoft SharePoint Server 2010 or SharePoint 2013 Enterprise Edition, is an interactive data exploration, visualization, and presentation experience.
    It provides multiple views featuring tiles, slicers, a chart filter, and a number of visualizations, including cards, small multiples, and a bubble chart. So, we can use Power View to do intuitive ad-hoc reporting for business users such as data analysts, business
    decision makers, and information workers.
    Currently, Power View report only supports two types of data models: PowerPivot Worksheet, and data models based on Analysis Services Tabular Model or Multidimensional Cube.
    In your scenario, you can create PowerPivot worksheets using SharePoint List as data source, deploy the PowerPivot worksheet to a SharePoint Library or PowerPivot Gallery, and then generate Power View reports based on the PowerPivot worksheets on the SharePoint
    site.
    To use SharePoint List as data source in Excel PowerPivot, you can refer to the following resource:
    http://blogs.technet.com/b/excel_services__powerpivot_for_sharepoint_support_blog/archive/2013/07/11/excel-services-using-a-sharepoint-list-as-a-data-source.aspx 
    http://technet.microsoft.com/en-us/library/hh230322.aspx 
    To create a Power View report based on PowerPivot model, you can refer to the following links:
    http://technet.microsoft.com/en-us/library/hh231522.aspx 
    http://technet.microsoft.com/en-us/library/hh759325.aspx 
    Regards,
    Mike Yin
    If you have any feedback on our support, please click
    here
    Mike Yin
    TechNet Community Support

  • Iterating through List View Items using Group By and Jquery

    In my listview to my document library, I am using grouping. For each group (using month), it lists all the documents pertaining to that particular month.
    Using JQuery, I need to go through each item and parse them, but I'm having trouble finding a usable selector for the for/each function. My parsing code (JQuery) works, but since it uses the class of the table cell with a child anchor, it basically
    finds the first item and then all the subsequent file names are named the same (instead of different names, like it should be).
    Here's my current code that doesn't work (only the iteration and naming separately for each file - the parsing I'm doing seems to work):
    $(".ms-wpContentDivSpace" ).each(function( index ) {
    var val=$(".ms-vb2 a").html();
    var val2=val.replace(/_/g," ");
    $(".ms-vb2 a").html(val2);
    any ideas?

    That's because
    $(".ms-vb2 a").
    is bringing back all the pieces that have that class with an anchor on the whole page, not just the ones in the .ms-wpContentDivSpace
    I don't know the exact syntax, but I think you need to iterate through all the '.ms_vb2 a' items as well - there are multiple ones, and do something like this inside your other grouping
    $(".ms-vb2 a").each(function(index) {
        var val=$(this).html();
       var val2=val.replace(/_/g," ")
       $(this).html(val2);
    That's not quite right but maybe that will help.
    Robin

  • Inspect with Task list not visible in QM view

    In Material master QM view, for 01 inspection type, inspect with tast list is not visible.
    Please advice how to make visible.

    Hi
    SPRO-->Quality Management->Quality planning->Inspection planning----> Assign task list type to Material type
    Definitely u get th lot.
    Regards

  • HT3775 Is the Codec listed adjacent to the file format the Codec used with that file format?

    Is the Codec listed adjacent to the file format the Codec used with that file format?

    Is the Codec listed adjacent to the file format the Codec used with that file format?

  • HT4847 On startup my macbookair says start up disk full/delete some files. When I look at storage disk utility I see 51GB of a possible 60GB is used with Other. What is Other? and how can I view and delete some of these files?

    On startup my macbookair says start up disk full/delete some files. When I look at storage disk utility I see 51GB of a possible 60GB is used with Other. What is Other? and how can I view and delete some of these files?

    A MacBook will use Time Machine to make local backups so that when connected to an external drive it will backup a lot faster.
    to disable this, you must use a command under terminal.
    to locate terminal, do a search for it under spotlight (the magnifying glass on the top right corner), should be the first hit.
    once under terminal, type the following text exactly:
    sudo tmutil disablelocal
    hit enter.
    you will be asked to input your password, if you do not have a password, you will have to create one before performing this command. after entering your password, hit enter again and close terminal.
    in a few minutes the space taken up by time machine should be cleared.

Maybe you are looking for

  • Creation of folders within the home folder on a new user

    I sold my Dual 2.0 G5 to a friend. Instead of doing a clean install of Tiger, I made a new user in his name and deleted my old user. In his home folder there was just 'desktop' and 'library' folders. Once we opened up iPhoto, a 'pictures' folder was

  • How to create ePUB with full size images/pages to adjust according to device?

    Friendly Greetings,         I have been trying, for nigh on two months, to convert/create my 7 books that are in print into eBooks; with first publishing scheduled to be Nook, with Kindle on the eventually list. I am, sadly still working on just gett

  • Can't import mp3s into itunes

    Hi, I was just importing videos and mp3s into itunes, and it suddenly won't let me import any mp3s into itunes. What can I do to fix it? thanks

  • JSlider or similar for controlling position in sound files help please.

    You know how winamp, wm player , etc, and JMStudio all have a "slider" bar to control position, along with a "numeric readout" of the current position. Fairly new to Java, but know this isn't a difficult thing to do, just haven't found out how to do

  • MP3 Issue

    I am trying build a simple audio player in Edge Animate. I have added seven .MP3 files and created 7 buttons to trigger the .mp3s to play. For whatever reason, if I add more than 6 audio files to the document, the 7th will not play. (Sometimes it's t