Update collection

I am new to htmldb and collections.....but something is just not clicking for me.
I have a collection created and it is populated correctly. I am trying to update a record (or is it called member??) in this collection.
The query to retrieve collection is:
select distinct htmldb_item.hidden(01,seq_id) seq_id,c001,c002,c003,c004, c005, c006,c007,c008,c009,s.common_name, r.last_name||', '||r.first_name Fisherman
from htmldb_collections,
permits p, participants r, species_qc s
where collection_name = 'ALLOCATE'
and c007 = p.permit_id
and p.participant_id = r.participant_id and
c006 = s.species_itis
order by fisherman
the process to update (multiple rows) the collection is:
declare
l_status varchar2(10);
l_cnt number;
l_county number;
begin
-- these records can only be updated. No new records can be added.
l_status := 'U';
select count(*) into l_cnt from htmldb_collections where collection_name = 'ALLOCATE';
FOR i IN 1..l_cnt LOOP
htmldb_collection.update_member_attribute(
p_collection_name => 'ALLOCATE',
p_seq => htmldb_application.g_f01(i),
p_attr_number => 5,
p_attr_value=> htmldb_application.g_f05(i) );
end loop;
I receive the following error:
ORA-20103: Member sequence 1641 does not exist in application collection "ALLOCATE"
the value 1641 seems to be refering to CATCH_SEQ (c004), not SEQ_ID.
Any help is appreciated!
thanks, Karen

Hi Vikas...thanks again for your time on this.
I am using DISTINCT because my earlier query was pulling in duplicates...of species.
I have created a new region, with the query SELECT * FROM HTMLDB_COLLECTIONS where COLLECTION_NAME = 'ALLOCATE'. It pulls up 2 records (as did the previous region) with SEQ_ID = 1 and 2.
I update the column C005 (reported quantity) and then press SAVE. The process UPDATE_COLLECTION runs and I receive an error.
declare
l_status varchar2(10);
l_cnt number;
l_county number;
begin
-- these records can only be updated. No new records can be added.
l_status := 'U';
select count(*) into l_cnt from htmldb_collections where collection_name = 'ALLOCATE';
FOR i IN 1..l_cnt LOOP
htmldb_collection.update_member_attribute(
p_collection_name => 'ALLOCATE',
p_seq => htmldb_application.g_f01(i),
p_attr_number => '5',
p_attr_value=> 100 );
end loop;
commit;
end;
error:
ORA-20103: Member sequence 1521 does not exist in application collection "ALLOCATE"
once again, 1521 refers to the value in C003 or the collection. hmm.
I am certain that this will be an obvious fix...but have been looking at this for the past couple of weeks with no resolve.
thanks again!

Similar Messages

  • SCCM Report for Applicable and Installed Updates Collection Wise

    Hi All, I was looking for a report on Applicable and Installed Updates Collection Wise and got this below query on the Internet and want to create a SCCM report with this below query. How to make this query working in SCCM report?
    Do I need to add prompts, if yes please guide me on adding prompts.
    SELECT
    DISTINCT
    SYS.Name0
    AS [Server Name], SIS.SMS_Installed_Sites0 AS [Site Code], UCS.Status AS [Patch Status Code],
    CASE WHEN UCS.Status = '2' THEN 'Applicable' WHEN UCS.Status = '3' THEN 'Installed' ELSE '' END AS 'Patch Status', UI.BulletinID AS [Bulletin ID],
    UI
    .ArticleID AS [Article ID], UI.
    Title
    FROM
    v_R_System AS SYS LEFT OUTER
    JOIN
    v_Update_ComplianceStatusAll
    AS UCS ON SYS.ResourceID = UCS.ResourceID INNER
    JOIN
    v_UpdateInfo
    AS UI ON UCS.CI_ID = UI.CI_ID INNER
    JOIN
    v_RA_System_SMSInstalledSites
    AS SIS ON SYS.ResourceID = SIS.
    ResourceID
    WHERE
    (UCS.Status IN ('2', '3')) AND (UI.ArticleID IN ('972270', '974392', '973904', '969947')) AND (SYS.Name0
    IN
    (SELECT DISTINCT v_FullCollectionMembership.
    Name
    FROM v_FullCollectionMembership INNER
    JOIN
    v_R_System
    ON v_R_System.ResourceID = v_FullCollectionMembership.ResourceID AND v_R_System.Active0 = 1 AND
    v_FullCollectionMembership
    .CollectionID IN ('Collection ID'
    ORDER
    BY
    [Patch Status Code]

    Yes it can be done and please run the query which i have shared in the thread
    I again pasted the query for you below..
    SELECT DISTINCT
    SYS.Name0 AS [Server Name], CASE WHEN UCS.Status = '2' THEN 'Applicable' WHEN UCS.Status = '3' THEN 'Installed' ELSE '' END AS 'Patch Status',
    UI.BulletinID AS [Bulletin ID], UI.ArticleID AS [Article ID], UI.Title
    FROM         v_R_System AS SYS LEFT OUTER JOIN
                          v_Update_ComplianceStatusAll
    AS UCS ON SYS.ResourceID = UCS.ResourceID INNER JOIN
                          v_UpdateInfo AS UI ON UCS.CI_ID
    = UI.CI_ID
    WHERE     (UCS.Status IN ('2', '3')) AND (SYS.Name0 IN (SELECT DISTINCT v_FullCollectionMembership.Name
    FROM v_FullCollectionMembership INNER JOIN
         v_R_System ON v_R_System.ResourceID = v_FullCollectionMembership.ResourceID AND v_R_System.Active0 = 1 AND
                                                       v_FullCollectionMembership.CollectionID
    IN ('XXX00000')))
    Kamala kannan.c| Please remember to click “Mark as Answer” or Vote as Helpful if its helpful for you. |Disclaimer: This posting is provided with no warranties and confers no rights

  • How to update collection when checkbox changed in report

    I have a report based on a collection:
    select seq_id
           ,c001
           ,c002
           ,apex_item.checkbox(1,seq_id,decode(c003,'J','CHECKED','UNCHECKED')) selected
    from apex_collections
    where collection_name='CONCOLLECTION'When the checkbox changes I want to store the new checked/unchecked status in the collection.
    Steps towards a solution I've come up with:
    1 Create a dynamic action: Change, jquery selector : input[name="f01"]
    2 Create javascript to store value (=seq_id) of changed item into a hidden page item.
    3 plsql code to update collection member with seq_id that is now in hidden item.
    Is this the way to do it?
    If so, it's the javascript of step 2 that I can't figure out.
    thanks, René

    thanks this works.
    Using javascript I store the seq_id and the checked value in 2 page items
    $s('P70_SEQ_ID', $(this.triggeringElement).val() );
    $s('P70_CHECKED', $(this.triggeringElement.checked).val() );The checked value I get is <empty> when checked and 'undefined' when unchecked. Based on this I can now update the collection.
    declare
      l_selectie varchar2(1);
    begin
      if v('P70_CHECKED')='undefined'
      then
        l_selectie := 'N';
      else
        l_selectie := 'J';
      end if;
      apex_collection.update_member_attribute(p_collection_name => 'CONCOLLECTION'
                                                 ,p_seq             => v('P70_SEQ_ID')
                                                 ,p_attr_number     => 3
                                                 ,p_attr_value      => l_selectie);
    end;

  • TCODE to update collection strategy on contract account

    Hi Experts,
    We have some accounts for which collection strategy was not populated at the time of move in. Now we want to update collection strategy manually. Transaction FPCCU does not allow changing collection strategy from blank to new value. I think there is some other tcode as well which allows changing collection strategy and master data group. If anyone is aware of that transaction please let me know.
    Thanks in advance!!

    Ravi,
    Try Transaction code FPCG.
    Thanks,
    Amlan

  • Update collection using ajax

    could anyone tell me how can I implement the update collection using ajax? I saw the example from carl's wonderful solution for "collection control" but he didn't implement update and delete single record. I am trying to make it, but i stoped at the point to auto assign the item value to update statements. I don't know how can I get the value immediately when I change it. Thanks in advance.
    lik

    Karen,
    did you find any solution for this problem?
    I am struggling with a similar problem.
    I found out that the seq_id is not available, which results in the error "no data found".
    At the moment, I don't see how to provide the seq_id correctly.
    br
    Michael

  • The software update collection topic

    Software updates is a hot topic and this collection thread covers how it works.
    All phone models receive a software update every now and then and we always try to optimize the phone performance and features in every one of them.  But the most common questions are “When will I get the update?” or “When will next update be released?”.
    First, to get a better understanding of how creating and launching new software updates works I strongly suggest that you read the articles published on Developer World.
    http://developer.sonymobile.com/2011/12/07/ice-cream-sandwich-from-source-code-release-to-software-u...
    And
    http://developer.sonymobile.com/2013/07/25/explaining-the-software-upgrade-process-and-its-improveme... 
    These articles explain it all from receiving the source code to when the update finally makes it to your device.
    As you can read in the article, all updates needs to pass all approvals and certifications before it can be released for your device.
    So unfortunately we here at the forum can’t say exactly when this will happen for your specific device but we always try to make as specific communications as possible when announcing new software update roll outs. Always check the product blog for the latest official information about products and software updates.
    http://blogs.sonymobile.com/
    All software updates rolls out gradually over time so it might not hit your device at the same time as we present it. To get the latest information about software update availability for your device you should contact your local support team since the updates are based on region and versions.
    http://www.sonymobile.com/global-en/support/contact-us/contact-info/
    There are two ways of updating your phone software. 
    1.     Via phone, OTA (Over the Air).
    Your phone has a built in application for updating your phone software. This application is called Update Center and can be found in your application drawer or via Settings > About phone > Software update. This application can scan for new software, notify about new software and also install new updates. But note that sometimes Update Center can only notify you about new phone software but not install it. This depends on the update itself and if it can be installed OTA or if the phone needs to be connected to a computer to perform the update. If this is the case you will be informed about that in the notification given to you by the Update Center application.
    Update Center will also inform you about the size of a new software update. If it’s a larger update, connecting to a Wi-Fi network is always recommended before downloading the update. This way you can save download data from your network subscription and also download time.
    If you don’t have access to any Wi-Fi network and experience problems doing a software update OTA please be aware of that some network operators doesn’t support FOTA (Firmware Over the Air). So if you’re trying to update your phone OTA via mobile networks make sure that your network operator supports FOTA. If yes and you still experience problems downloading the update check if your APN settings have any Proxy details that could block the download. You can check this in the following menu. Settings > More (Wireless & networks) > Mobile networks > APN or Access Point Names > Your Internet APN. Check if any details are set for Proxy and Proxy port. If yes you can try to delete them (temporarily) and save the APN. Now try downloading the update again.
    2.     Via computer
    You can use our programs, PC Companion (PC), Update Service (PC) or Bridge for Mac (Mac) to scan, install and repair phone software.
    PC Companion is your general managing program for the phone if you’re running on a PC computer.
    PC Companion has several other features besides updating software such as backup, sync etc.
    Update Service is a simple program for just updating and/or reinstalling your phone software.
    Bridge for Mac is the alternative for our Mac users. It’s similar to PC Companion. Bridge for Mac lets you, update the phone software, transfer/sync media files and backup your phone.
    If you experience any problems doing a software update via computer, please check the following.
    -       USB ports. If you don’t get any connection with the phone try to connect your USB cable to another USB port on your computer. If you’re using USB 3.0 ports make sure that you have installed the main board manufacturer drivers for them. Still not working please see the USB connection FAQ topic.
    -       Internet connection. If your Internet connection is using a Proxy please check that the Proxy settings are correct in PC Companion by going to Settings for PC Companion in the top right corner > Proxy settings.
    -       Firewall. Please make sure that no firewall blocks Internet communication. Check ignores list or temporarily disable the protection when doing the update.
    -       Anti-Virus. Please check that no security software is blocking the program from running or communicating with the Internet.
    If you get a message saying that your phone already has the latest software even if you have seen on the web that a later software version is available, this might not be an error. But as described above, it might not be released for your device just yet. Reasons for this please see beginning of this post.
    If you have read the above, tried the tips and still experience any issue please feel free to participate in any of the ongoing discussion topics here on our forum. 
     - Community Manager Sony Xperia Support Forum
    If you're new to our forums make sure that you have read our Discussion guidelines.
    If you want to get in touch with the local support team for your country please visit our contact page.

    Some things you can try:
    1. See if software update works from another account.
    2. Boot in safe mode.  See if SU works.  If so, reboot normally and try again.
    3. If those don't work maybe you need to delete the software update cache.
        ~/Library/Caches/com.apple.SoftwareUpdate/
    Note there are two plists assocated with SU but I don't think deleting them will change anything since there is nothing significant in them.  They are,
    ~/Library/Preferences/com.apple.systempreferences.plist
    ~/Library/Preferences/ByHost/com.apple.SoftwareUpdate.XXXXXX.plist
    where the X's are a sequence of hyphenated upper case leters and digits.

  • Unable to Update Collection from Tabular Form

    I have built several Tabular Forms where I have updated the apex_collection with the data entered into the form. Then I loop thru the collection and update the database.
    I now Copy a working form to create a new form using data from a different table. All I am doing is changing the underly apec_collection with a different select statement and give it a new collection name. The number of columns on the tabular form are the same as the working form.
    Now I run the form and I get ORA-01403: no data found Error UNABLE to UPDATE ROWS
    It is acting like it is not finding any data from the collection. But I put in the same selection critera for the update into a report below the tabular form and I see data just fine.
    Here is the code I am using to update the collection when the SAVE button is pressed (Process on Submit before Calculations).
    begin
    for c1 in (
    select seq_id from apex_collections
    where collection_name = 'IPR_MATRIX' and c001 = :P21_FACILITY
    and c002 = :P21_DEPT
    order by seq_id) loop
    c := c+1;
    apex_collection.update_member_attribute (p_collection_name=> 'IPR_MATRIX',
    p_seq=> c1.seq_id,p_attr_number =>5,p_attr_value=>wwv_flow.g_f01(c));
    apex_collection.update_member_attribute (p_collection_name=> 'IPR_MATRIX',
    p_seq=> c1.seq_id,p_attr_number =>6,p_attr_value=>wwv_flow.g_f02(c));
    apex_collection.update_member_attribute (p_collection_name=> 'IPR_MATRIX',
    p_seq=> c1.seq_id,p_attr_number =>7,p_attr_value=>wwv_flow.g_f03(c));
    apex_collection.update_member_attribute (p_collection_name=> 'IPR_MATRIX',
    p_seq=> c1.seq_id,p_attr_number =>8,p_attr_value=>wwv_flow.g_f04(c));
    apex_collection.update_member_attribute (p_collection_name=> 'IPR_MATRIX',
    p_seq=> c1.seq_id,p_attr_number =>9,p_attr_value=>wwv_flow.g_f05(c));
    apex_collection.update_member_attribute (p_collection_name=> 'IPR_MATRIX',
    p_seq=> c1.seq_id,p_attr_number =>10,p_attr_value=>wwv_flow.g_f06(c));
    apex_collection.update_member_attribute (p_collection_name=> 'IPR_MATRIX',
    p_seq=> c1.seq_id,p_attr_number =>11,p_attr_value=>wwv_flow.g_f07(c));
    apex_collection.update_member_attribute (p_collection_name=> 'IPR_MATRIX',
    p_seq=> c1.seq_id,p_attr_number =>12,p_attr_value=>wwv_flow.g_f08(c));
    apex_collection.update_member_attribute (p_collection_name=> 'IPR_MATRIX',
    p_seq=> c1.seq_id,p_attr_number =>13,p_attr_value=>wwv_flow.g_f09(c));
    apex_collection.update_member_attribute (p_collection_name=> 'IPR_MATRIX',
    p_seq=> c1.seq_id,p_attr_number =>14,p_attr_value=>wwv_flow.g_f10(c));
    apex_collection.update_member_attribute (p_collection_name=> 'IPR_MATRIX',
    p_seq=> c1.seq_id,p_attr_number =>15,p_attr_value=>wwv_flow.g_f11(c));
    apex_collection.update_member_attribute (p_collection_name=> 'IPR_MATRIX',
    p_seq=> c1.seq_id,p_attr_number =>16,p_attr_value=>wwv_flow.g_f12(c));
    end loop;
    end;
    Any Ideas what I am doing wrong?

    c is set to 0
    It looks like I may have found my problem.
    There tabular form is limited by a where clause in the report to a subset of the collection. Making the collection match the same where clause seems to have fixed my problem.
    Not clear on why that works like that but it looks like I may have it working.

  • Error trying to update collection metadata

    Hi,
    I'm trying to update via Java code - using service COLLECTION_UPDATE - a collection/virtual folder which was previously created(by Java code, again) - using service COLLECTION_ADD - , but I get this error:
    Error: !csCollectionUnableToUpdateCollection!csCollectionUnableToOpenCollection
    What could be the cause? Is the update operation coming to soon after the folder has been created? What should be done?
    Thanks,
    Vlad

    many thanks.
    There's a few suggestion other than using SUBST at the command prompt given in the following user tip:
    "Invalid drive X:\" install errors
    Do any of the alternate methods work for you?

  • Apex Updating Collection

    The problem I am having is updating a collection with the input values from my report columns.
    The main issue is with the 'update_member_attribute' and more specifically the 'p_attr_value'.
    From what I've read this value should reference the update columns in the rows of the report, g_f01(rowCount) will represent the first update column in the row and g_f02(rowCount) will represent the second column in the row and so on....
    The problem I have is with the variable that precedes the g_f01(rowCount), which is wwv_flow as indicated in the Oracle example below.
    I cannot find any explanation on what this variable is, or more important what it references. Also in another example it's name has changed but again no explanation.
    Any help would be appreciated,
    Many thanks,
    Jonathan Jobe.
    declare
    c pls_integer := 0;
    begin
    for c1 in (
    select seq_id from apex_collections
    where collection_name = 'MATRIX'
    order by seq_id)
    loop
    c := c+1;
    apex_collection.update_member_attribute (p_collection_name=> 'matrix', p_seq=> c1.seq_id, p_attr_number =>1, p_attr_value=>wwv_flow.g_f01(c));
    apex_collection.update_member_attribute (p_collection_name=> 'matrix', p_seq=> c1.seq_id, p_attr_number =>2, p_attr_value=>wwv_flow.g_f02(c));
    apex_collection.update_member_attribute (p_collection_name=> 'matrix', p_seq=> c1.seq_id, p_attr_number =>3, p_attr_value=>wwv_flow.g_f03(c));
    apex_collection.update_member_attribute (p_collection_name=> 'matrix', p_seq=> c1.seq_id, p_attr_number =>4, p_attr_value=>wwv_flow.g_f04(c));
    end loop;
    end;

    Bryan,
    I'm not familiar with this MATRIX application but normally tabular forms (updateable reports) generate HTML form items corresponding to the g_fxx arrays. If you run the report and look at the rendered HTML in the browser you'll see items named f01, f02, etc. When the page is POSTed, these values are passed to the procedure wwv_flow.accept which then makes them publicly accessible by copying them into package variables.
    Scott

  • Update Collection by Query rule and condition

    Hi,
    I have one collection called Windows 7 Machines.
    I've added a Query that I made like this:
    select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System inner join SMS_G_System_OPERATING_SYSTEM on SMS_G_System_OPERATING_SYSTEM.ResourceID
    = SMS_R_System.ResourceID where SMS_G_System_OPERATING_SYSTEM.Caption like "% Windows 7 %"
    And it's working.
    What I want the collection to do, is to update membership so Members Count is based on clients that is actively communicating with the SCCM server, and exclude those who haven't communicated with the server for 40 days.

    GREAT NEWS :D  I've managed to configure the Clients Status by following the previous guide that i posted from technet.
    Now is the only challenge to complete the Query. As i wrote above :
    I don't understand is where to put the "client = active" statement, i've tried like this but it gives me This query has a syntax error, Are you sure you want to save it? Yes / No
    select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System inner join SMS_G_System_OPERATING_SYSTEM on SMS_G_System_OPERATING_SYSTEM.ResourceID
    = SMS_R_System.ResourceID where SMS_G_System_OPERATING_SYSTEM.Caption like "% Windows 7 %" client = active
    Thank you very much for your time.

  • Query and update collections

    Hi all,
    Following :
    CREATE TABLE TSET
    ID NUMBER(10)
    Insert into PER.TSET
    (ID)
    Values
    (1);
    Insert into PER.TSET
    (ID)
    Values
    (2);
    Insert into PER.TSET
    (ID)
    Values
    (3);
    COMMIT;
    CREATE OR REPLACE FORCE VIEW V_ID (ID,FLAG)
    AS
    (SELECT ID, 0
    FROM TEST1);
    SELECT * FROM V_ID
    ID FLAG
    1 0
    2 0
    3 0
    CREATE OR REPLACE TYPE OBJ_ID IS OBJECT
    ID NUMBER(10),
    FLAG NUMBER(5)
    CREATE OR REPLACE TYPE T_ID AS TABLE OF OBJ_ID
    I want pass VIEW V_ID to table T_ID
    select * from table(T_ID)
    Excpect output
    ID FLAG
    1 0
    2 0
    3 0
    and i want to update FLAG to any ID in table(T_ID)
    Thanks in advance

    RJ wrote:
    and i want to update FLAG to any ID in table(T_ID)T_ID is type, not a table. You need to create table:
    SQL> DROP TYPE T_ID
      2  /
    Type dropped.
    SQL> CREATE TABLE T_ID OF OBJ_ID
      2  /
    Table created.
    SQL> INSERT
      2    INTO T_ID
      3    SELECT  *
      4      FROM  V_ID
      5  /
    3 rows created.
    SQL> SELECT  *
      2    FROM  T_ID
      3  /
            ID       FLAG
             1          0
             2          0
             3          0
    SQL> And if you want to create table of objects:
    SQL> CREATE OR REPLACE TYPE T_ID AS TABLE OF OBJ_ID
      2  /
    Type created.
    SQL> CREATE TABLE T_ID_TBL(
      2                        OBJ_ID_TBL T_ID
      3                       )
      4    NESTED TABLE OBJ_ID_TBL
      5    STORE AS OBJ_ID_TBL
      6  /
    Table created.
    SQL> INSERT
      2    INTO T_ID_TBL
      3    SELECT  CAST(COLLECT(OBJ_ID(ID,FLAG)) AS T_ID)
      4      FROM  V_ID
      5  /
    1 row created.
    SQL> SELECT  *
      2    FROM  T_ID_TBL
      3  /
    OBJ_ID_TBL(ID, FLAG)
    T_ID(OBJ_ID(1, 0), OBJ_ID(2, 0), OBJ_ID(3, 0))
    SQL> SY.

  • Category Page does not show updated collection thumbnails!

    Hi to all,
    we have the following problem with our iTunes U site.
    We changed a thumbnail in some of our collections (new picture, new filename, updated 4-5 days ago over RSS), but the automatically generated category page does still show the old picture, while on the infopage as well as the collection detail site the new picture is updated and visible since Friday.
    Shouldn't be the cache be updated during one or at least 2 days?
    Indeed we did change not only the picture but also the filename in our system, because we had that problem ones in the past and received the hint to change also the filename back then, so that the system would recognize the change and update the cache. For the collections it works,but not for all the collection thumbnails on the category page. Well, at least in one collection the category page shows the new one. The question is, why it doesn't do that for all the collections concerned.
    Thanks in advance,
    Regards, Marcus

    Nancy,
    When you create a new entries page, do not delete the example photo on the page; this removes the placeholder and effectively removes the thumbnail photo link from the main blog page to that entry page, which results in no thumbnail. Just drag your photo into the stock page photo, and the stock photo will automatically be replaced.
    You will likely have to recreate the pages that are missing this placeholder.
    Mark

  • Updating Collections specialist on production

    Hi all,
    Have you implemented before the following notes>
    936204 - Transaction for maintaining specialist and substitutes.
    936061 - View cluster UDMVC_COLL_GRP is uneditable in production sys.
    To allow changes in production directly in transaction UDM_GROUP_SPECIALIST what additional changes would you need to make?
    Thanks!

    When I enter through UDM_GROUP the system shows the message client has status 'not modifiable'. Nothing is shown at SU53.
    Else I was thinking of using UDM_BP_GRP to make the changes in production, what do you think?
    Any other way to update the date in production?
    Thanks!

  • How do collection updates really work?

    Hi,
    Few questions about collection updates.
    I have been trying to figure out the most effective way to implement collection updates so, that there would be minimal delay in adding a workstation to collections. The documentation on how the updates exactly work is however a bit vague and the functionality
    seems to have no clear course of action... This is going to be a long post, since there's much to describe.
    We have two main collection structures. One is for software and the other one is for Active Directory. 
    Software structure has collections for each software and each software collection is consisted of direct members, Query rules for AD Security Group members and included collections from Active Directory collection structure.
    Active Directory collection structure is a tree-like structure where the root collection and all descending collections include their child items. The real query for workstations from AD is in the last collection/node of the tree. For example in the picture
    "Staff" collection has collection rules to include "Faculty1" and "Faculty2". Faculty1 has rules which include "dept1" and "dept2" to the collection and so forth. All collections are limited to All Workstations
    (members queried from AD), which is limited to All Systems. 
    I have disabled all incremental and scheduled updates from each collection (excl. built-in collections) and set hourly updates on All workstations. All built-in collections are incrementally updating. Now, this should only update all workstations collection
    and the rest should be left alone? Nope. When the All Workstations collection schedule triggers almost 2/3 of all other collections are refreshed too. There however seem to be no consistency what collections are updated. First I thought that all collections
    which have All workstations as limiting collection would update, but it does not seem to work like that. 
    First question: Does anyone have any idea how the update works in this case? Does updating limiting collection affect other collections?
    I have created an SQL query to easily see the last refresh time of a collection. The query also shows all manually made "Update collection membership" requests with time and what the settings are in that collection. This query is scoped on the view
    "vCollections". 
    Second question: This list shows one extra collection which cannot be seen from ConfigMgr console. The collection has ID "SMSOTHER" and is named "All custom resources". What is this for? The collection updates on schedule and has incremental
    updates turned on.
    Our organization has around 900 collections in total and if all collections are updated (full update) synchronously it will take almost 30 minutes to complete (BTW, why is the performance so poor and why no async updates?). Software collections probably are
    easiest to do with incrementals, but using schedule on all AD collections with the current functionality seems like an overkill. I have tried scheduled updates on different levels of the structure, but none of these seem to have the constant effect of updating
    all child collections also.
    How does updating one collection affect other collections? Do the included collections get updated as well?
    Would be great if there was a comprehensive documentation about collection updates.
    BR,
    Juha-Matti

    Hi,
    First question:
    Based on my knowledge, when All Workstations collection schedule triggers, all other collections related to this collection would be updated too.
    Second question:
    The collection “All custom resources” hasn’t been documented. I think it might be reserved for future
    use.
    Best Regards,
    Joyce Li
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Function of Collection Update Schedules

    I am having trouble getting SCCM to update collections only when scheduled.  It seems that any time a change is made to a limiting collection that triggers all collections that are dependant on that collection to refresh immediatlely.  I would
    like to make a change to a limiting collection and have the collecitons that are limited by that collection not update until they are scheduled to update.
    I have a Collection "Main" limited by collection "Limit".  If I add a computer to collection "Limit"  and it meets the query requirements of collection "Main" the client gets added to "Main"
    immediately instead of waiting until the scheduled time for collection "Main" to be updated.  I would like to add clients to the "Limit" collection and have the "Main" collection not update until it is scheduled to update.
    Any way to achieve this?

    My business case doesn't say that all software should only be installed at 3:00AM.  My business case says that particularly intrusive applications should install in the overnight hours.  Stuff with no/low impact can install in the middle of the
    day.
    Envision this... I am asked to deploy some package to a list of 20 machines over night.  Then the next day I am asked to deploy the same software to 30 different machines, also overnight,  then 100 more the next day, then 1000 more the next day,
    then 10000 more the next day.  like a phased rollout. 
    I could build a new collection for each of these distinct collections of machines and build an advertisement for them also, and that sure would deploy a package to a those collections at the correct time. 
    The problem is that I'd need 6 collection and six advertisements, when I could easily get away with two collections and just rely on the colleciton update to make the package available for a certain time.  I dont wanna build all those collections and
    all those advertisements.  I just want to make my collection get wider and wider, and I want to do it in the daytime, but not have it take affect until later.
    Maitenance windows don't work for many instances.  I don't believe Wake on LAN takes MWs into account.  Laptops that are usually off don't work well with maintenance windows.  Plenty of machines are never on during their maintenance windows,
    and if you set software to deploy outside of maintenace windows after a deadline, then you have defeated the maintenance window.  A week from now the deadline is past and now the software installs as soon as it is discovered.  Set the deadline
    into the future, and machine that are not on during their maintenance window never install the software.  Maintenance windows are no panecea.  It would work to create a new advertisement every time the collection was expanded, but that's unneccessary
    work.
    My method is more like a step function.  You know?  New machines get added to the standing collection with an advertisement in the past once a day at 3:00AM and the software installs at the next client policy refresh after that time. Simple and
    easy.  Hey here's 100 more machines that need the software.  No problem, dump them into the limiter collection and then when the main collection refreshes, those new systems are added to the main collection.
    The reason I do this is that I don't want to wake up at 3:00AM to drop those clients into the collection. I stage them in a pre-deployment collection and then they get added to the advertisement target collection when the collection evaluation runs on schedule. 
    Anyway, this worked fine in 2007, a change was made in 2012 to break it, and now I have a nice workaround in place, it is not too complicated, so problem solved.

Maybe you are looking for

  • Error in Form 5.0 in post_query_trigger

    Hi !! I am making a form that has one field that is not the part of the base table (rest all are). This is the field that is the description of some code in the base table. Now the question is as to how do I populate this field when the user queries

  • Why can't I buy and use app from app store?

    please help me, I can't buy Apps from App store and if I can buy this, I'll can't use this, what's happen with my account? Please help me... Thanks!!!

  • How to enable Ultra DMA Mode 6?

    I've a Seagate Barracuda 7200.7 Serial ATA HD. The highest mode I can achieve is Ultra ATA-100 (mode 5) and not the maximum support by Barracuda the Ultra ATA-133 (mode 6). How can I enable mode 6 in Windows XP?

  • Elements Dock Icon Won't Open Program When JPG is Dropped On It.

    I'm running a trial of Photoshop Elements on my Mac (Lion) The dock alias doesn't respond when I drop a jpg on it to open the file. This is exasperating and  I'm praying it's just a missed setting but I can't find. Many thanks for any ideas on what I

  • IPhone 4 (CDMA) Charging Bug in iOS 6.x.x

    I need those of you with iPhone 4 CDMA phones to test something for me please. First make sure you phone has been off the charger for at least a couple of hours.  Then, while you're close to your wall charger, press the top power button to wake up th