How to delete the versioned assets which are 2 months old?

I have a req. to delete the versioned assets which are 3 months old.I think we have PurgingService component (OOTB component) which can be configured to achieve this particular activity.
Any help wud be highly appreciated .
Thanks
Neelesh

What I was referring, will delete the entire asset from repository based on some condition.OOTB ATG comes with profile purging function to handle deletion of profile.
We can add other repositories too here,But it will delete data completely.It's kind of clean up required after some time for say anonymous user profiles. My Bad
But in ur case as u need to delete only different versions stored in publishing db only, As u already pointed out at PurgingService, I think there is no need to customize, u can PurgingService Scheduler,
But get clarification on this Purge projects and unused versions of assets older than _ days. What does this unused means.
Logically unused should be this "It will exclude the current version, say current version is was created 30 says back and u are purging all the versions which is 30 days."
But Please verify this before using.
Also Please reply the correct approach once it has been implemented.  
Thnks,
Nitin.

Similar Messages

  • How to get the  Checked box which are clicked

    for(int k=0;.....
    jsp code
    <input type=checkbox name=checkbox value='<%=k%>' >
    how to get the particular Checkbox which are checked???

    String[] checkedValues = request.getParameterValues("checkbox");You'll get an array filled with the values only for the checked boxes. In other words, if no boxes are checked, checkedValues will be null or checkedValues.length == 0, not sure, going from memory.
    Hope this helps!
    Patrick

  • How to delete images from folder which are not in the database

    I am created windows form
    i wont to delete images from the folder where i have stored images but i only want to delete those images which are not in the data base.
    i don't know how it is possible . i have written some code
    private void button1_Click(object sender, EventArgs e)
    string connectionString = "Data Source";
    conn = new SqlConnection(connectionString);
    DataTable dt = new DataTable();
    cmd.Connection = conn;
    cmd.CommandText = "select * from tbl_pro";
    conn.Open();
    SqlDataAdapter da = new SqlDataAdapter(cmd);
    da.Fill(dt);
    int count = Convert.ToInt32( dt.Rows.Count);
    string[] image1 = new string[count];
    for (int i = 0; i < count; i++)
    image1[i] = dt.Rows[i]["Image1"].ToString();
    string[] image2 = new string[count];
    for (int i = 0; i < count; i++)
    image2[i] = dt.Rows[i]["Image2"].ToString();
    var arr = image1.Union(image2).ToArray();
    string[] arrays;
    String dirPath = "G:\\Proj\\";
    arrays = Directory.GetFiles(dirPath, "*", SearchOption.AllDirectories).Select(x => Path.GetFileName(x)).ToArray();
    int b= arrays.Count();
    for (int j = 1; j <= b; j++)
    if (arrays[j].ToString() != arr[j].ToString())
    var del = arrays[j].ToString();
    else
    foreach (var value in del) // ERROR DEL IS NOT IN THE CURRENT CONTEXT
    string filePath = "G:\\Projects\\Images\\"+value;
    File.Delete(filePath);
    here error coming "DEL IS NOT IN THE CURRENT CONTEXT"
    I have to change anything .Will It work alright?
    pls help me
    Sms

    Hi Fresherss,
    Your del is Local Variable, it can't be accessed out of the if statement. you need to declare it as global variable like below. And if you want to collect the string, you could use the List to collect, not a string.  the string will be split to chars
    one by one.
    List<string> del=new List<string>();
    for (int j = 1; j <= b; j++)
    if (arrays[j].ToString() != arr[j].ToString())
    del.Add(arrays[j].ToString());
    else
    foreach (var value in del)
    string filePath = "G:\\Projects\\Images\\" + value;
    File.Delete(filePath);
    If you have any other concern regarding this issue, please feel free to let me know.
    Best regards,
    Youjun Tang
    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.
    Click
    HERE to participate the survey.

  • How to access the e-mails which are stored in different folders via Mac

    Hi guys, I am new to Mac. My problem is about the setting of Mac Mail.
    There are 8 folders with my hotmail account in order to automatically sort e-mail into folders. I only can get the e-mails of inbox folder via Mac Mail software. I am wondering how to access the other e-mails which are stored in other folders.
    Thanks a lot!

    I don't think that things have changed going from 10.5 Mail to 10.6 Mail in this regard (I need to log on to my laptop more often). So, assuming that my premise is correct, in the left hand column of the mail window, underneath your inbox, drafts, sent, trash, and junk mailboxes, there should be the descriptive name of your mail account, written in gray capital letters, with a gray triangle to the left of that name. If the gray triangle is pointing to the right, click on it so that it points downward. That will expand the account view of mailboxes on the server. You should be able to see all of the other folders.

  • How to clear the form fields which are not rendered

    I have a creation form. There is a document_type list set up as a partial triger. When user change the document type, only the filed related to that document type will be rendered. This caused a problem when we need to clear the form . The input in the field which is not render won't be cleared when reset button is pressed. Can anybody give a sugestion on how to handle this?
    I tried to use the following function to clear the fields. It does not work since it get the list value before the list value change and clear the fields after the new field rendered.
    public void clear_action(ValueChangeEvent valueChangeEvent) {
    // Add event code here...
    System.out.println("test1");
    String coutcase = null;
    if(EL.get("#{bindings.Proxy.inputValue}") != null){
    coutcase = EL.get("#{bindings.Proxy.inputValue}").toString();
    System.out.println(coutcase);
    AttributeBinding a11= (AttributeBinding)getBindings().getControlBinding("INT_FNAM");
    AttributeBinding a12 = (AttributeBinding)getBindings().getControlBinding("INT_LNAM");
    AttributeBinding a13 = (AttributeBinding)getBindings().getControlBinding("TIT_PROG");
    AttributeBinding a14 = (AttributeBinding)getBindings().getControlBinding("T_OF_INT");
    AttributeBinding a15 = (AttributeBinding)getBindings().getControlBinding("NETWORK");
    AttributeBinding a16 = (AttributeBinding)getBindings().getControlBinding("IN_DATE");
    AttributeBinding a17 = (AttributeBinding)getBindings().getControlBinding("PE_FNAM");
    AttributeBinding a18 = (AttributeBinding)getBindings().getControlBinding("PE_IN_LNAM");
    AttributeBinding a19 = (AttributeBinding)getBindings().getControlBinding("WEBSITE");
    AttributeBinding a20 = (AttributeBinding)getBindings().getControlBinding("URL");
    AttributeBinding a21 = (AttributeBinding)getBindings().getControlBinding("INT_DATA");
    AttributeBinding a22 = (AttributeBinding)getBindings().getControlBinding("D_ACCESS");
    AttributeBinding a23 = (AttributeBinding)getBindings().getControlBinding("CASE_NUM");
    AttributeBinding a24 = (AttributeBinding)getBindings().getControlBinding("COURT");
    AttributeBinding a25 = (AttributeBinding)getBindings().getControlBinding("PLAIN");
    AttributeBinding a26 = (AttributeBinding)getBindings().getControlBinding("DEFEN");
    if(coutcase.equals("Interview")) {
    a11.setInputValue(null);
    a12.setInputValue(null);
    a13.setInputValue(null);
    a14.setInputValue(null);
    a15.setInputValue(null);
    a16.setInputValue(null);
    a17.setInputValue(null);
    a18.setInputValue(null);
    /*a19.setInputValue(null);
    a20.setInputValue(null);
    a21.setInputValue(null);
    a22.setInputValue(null);
    a23.setInputValue(null);
    a24.setInputValue(null);
    a25.setInputValue(null);
    a26.setInputValue(null);*/
    } else if(coutcase.equals("Internet")){
    /*a11.setInputValue(null);
    a12.setInputValue(null);
    a13.setInputValue(null);
    a14.setInputValue(null);
    a15.setInputValue(null);
    a16.setInputValue(null);
    a17.setInputValue(null);
    a18.setInputValue(null);*/
    a19.setInputValue(null);
    a20.setInputValue(null);
    a21.setInputValue(null);
    a22.setInputValue(null);
    /*a23.setInputValue(null);
    a24.setInputValue(null);
    a25.setInputValue(null);
    a26.setInputValue(null);*/
    } else{
    /*a11.setInputValue(null);
    a12.setInputValue(null);
    a13.setInputValue(null);
    a14.setInputValue(null);
    a15.setInputValue(null);
    a16.setInputValue(null);
    a17.setInputValue(null);
    a18.setInputValue(null);
    a19.setInputValue(null);
    a20.setInputValue(null);
    a21.setInputValue(null);
    a22.setInputValue(null);*/
    a23.setInputValue(null);
    a24.setInputValue(null);
    a25.setInputValue(null);
    a26.setInputValue(null);
    }else{
    System.out.println("coutcase is null");
    }

    Hi,
    The easiest way to modify the screens in the Std transactions using ITS is to modify the ITS templates corresponding to that transaction.
    E.g In you case,there will be a ITS service corresponding to the ESS transaction.This ITS service will have  number of HTML templates which will actually correspond to the diffrent screens in the Trascn.What you need to do is find out the HTML template in the ITS service which corresponds to the screen(which you want to modify) in the STd transacn.To do this ,the easiest way is to right click on that Web page and say VIEW SOURCE.It will show you a HTML code with the ITS service name and the template which is being used for that particular screen.
    So after you find out the correct HTML template to be modified,you can simply hide the fields by putting the HTML code lines in between the symbols
      <!   and  -->
    BR,
    Disha.
    <b>Pls reward points for useful answers.</b>

  • IS there a 64 bit firefox yet? All the questions I see are 7+ months old

    So I'm looking to see if there is a 64 bit version of Firefox now as all the questions I see are asked 7 + months ago and the answer is there would be a 64 bit version by foxfire 5... since we are up to Firefox 7 is there a 64 bit version and where do I download it if there is cause I cannot find the damned thing on my own

    No 64-bit release versions for Windows yet. Only available as a bleeding edge "Nightly" version, which is now Nightly 10.0a1.

  • How to retrive the new reocrds which are posted at the time of loading data

    hi experts
    i have a doubt
    if we are performing a load operation at the time of loading if client posts some new records related to the current load is those records will be transferred to the target with the current load or we have to load them at the time of delta load, what will be the problems occurs at this situation
    also we are having an option in RSA3 ---BLOCKED ORDERS is it going to helpful for this situation
    also i found some answer like at the time of loading we need to lock the base tables so that the new data will be blocked is it the solution for the above scenario
    thanks in advance

    Hi Lokesh,
    Not clear if you are referring to posting of records during an initialization activity or normal delta, full loads. In case of an initialisation for a LO Cockpit datasource you cannot allow any postings to be done in the source (ECC) system. In case of normal delta, full loads, the changes are stored in tables/extract structures/delta queues and are not affected by the changes in the source system during that time. The changes done during that time are captured in the next delta run.
    Hope this helps!
    You may want to refer to blogs from Roberto on the extraction methods and their operations.
    Regards,
    Kunal Gandhi

  • IMP: How to delete the service order

    Hey Experts,
    Can you tell me how to delete the service order which was created in IW31..? or we have any Functions Module to delete the service order?
    and one more question is I have more than 100 service order in the table ,but it will display only 50 order when i execute this Functions Module BAPI_ALM_ORDERHEAD_GET_LIST
    can you tell me how to solve this problem...?
    Thanking you in advance,
    Regards
    J Sarathi

    This is what the BAPI_ALM_ORDERHEAD_GET_LIST documentation says
    "You can use this method to determine a list of orders according to a list of selection criteria. The number of hits that are produced for the person calling up the list, can be specifically reduced; without further parameter transfers, the first 50 hits are displayed. A complete list of the hits is stored internally. If you call up the selection again within a Logical Unit of Work (LUW) without changing the selection parameters, but with other refurbishment parameters, then you receive further partial quantities of the selection result, as specified by you."
    and for deletion
    check whether you can set any deletion status through the fm BAPI_ALM_ORDER_MAINTAIN
    Also check the business objects BUS2007, BUS2088

  • How to delete the multiple companies assignement of a employee in SRM

    Hello Friends,
    In business partner maintenance (BP), one employee assigned to multiple companies in relationship tab.
    Following are the entries observed in relationship tab in BP Transaction code.
    Is employee of
    xxx(BP number) u2013 Company(address type) --- xxx(description) u2013valid from --- valid to -->1st entry
    xxx(BP number) u2013 Company(address type) --- xxx(description) u2013valid from --- valid to --> 2nd entry
    Ideally one employee should  assigned to one company only.
    Kindly let me know how to delete the relationship.
    We are using release SRM 5.0 with classic extended scenario.
    The organization structure is HR Replicated.
    Thanks in Advance,
    Pithani Suresh

    Hello Ganesh,
    Thank you for providing information.
    The employee is not assigned to multiple companies. The assignment is related to orgnizational unit.
    In organization structure (PPOSA_BBP), the user/position is assigned to one organization unit only
    More details about this issue,
    we find the relationship of the user/position in BP T.code (Relationship Tab), it is showing the relationship with current organizational unit and previous organizational unit. Ideally it should be assigned to one organizational unit. Due to some inconsistency, it is still showing the previous organizational unit.
    Example: Ex: User A is replicated from HR to SRM and assigned to Dept A (org unit 1) and later User A is shifted to Dept B (org unit 2) from HR Replication.
    Following are the entries observed in relationship tab in BP Transaction code.
    Input is BP number assigned to of the user A central person.
    User u201CAu201D is employee of
    BP number of org unit 1u2013 Company(address type) --- xxx(description) u2013valid from --- valid to -->1st entry
    BP number of org unit 2 u2013 Company(address type) --- xxx(description) u2013valid from --- valid to --> 2nd entry
    Thanks & Regards,
    Suresh Pithani

  • How to delete the empty orders in v.06 tcode

    Hi,
    i am trying to delete the empty orders in V.06 transaction code, but it is not allowing to delete.
    the same order is able to delete from the VA02 Transaction. so could you please advice me to delete from V.06 transaction.

    Hello Ganesh,
    i am trying to delete the empty orders in V.06 transaction code, but it is
    not allowing to delete.the same order is able to delete from the VA02
    Transaction. so could you please advice me to delete from V.06 transaction.
    Please note that the T-code (V.06) which you have been using basically shows up all Incomplete Documents like Sales Order, Contracts, Inquiry. Pertaining to each document you will be able to see all the missing fields which are actually set as part of Incompletion Log.
    There is no dirrect provision to delete Sales Document using this t-code without opening up the document in change mode...If incase you plan is to delete the Sales Document which are not complete, then use this T-code to extract all the Sales Document and then use MASS t-code to delete...
    As per best SAP practice, deleting of Sales Document is not recommended at all, instead you can use REJECTION OPTION...  
    Regards,
    Sarthak

  • How to delete the BPEL instance in Java code

    Hi all,
    How to delete the BPEL instance which I initiate in Java code?
    Thanks
    Jayson

    Hi,
    take a look here
    http://download-uk.oracle.com/docs/cd/B31017_01/integrate.1013/b28986/toc.htm
    Interface IInstanceHandle
    void      delete()
    Delete the instance from the process domain.

  • How to create the SWF file which was included surrogate pairs.

    I would like to make sure how to create the SWF file which are included surrogate pairs.
    The error of outside the scope of unicode occurred when I compiled(mxmlc) the as file which was set surrogate pairs to 'Unicoderange'.
    Ex, I set the '  '(UTF-16 is '20B9F') to 'Unicoderange'.
    However, I cannot add the surrogate pairs.
    The error of outside the scope of Unicode occurred when I compiled the AS file.
    The reason of error was that the Unicode(UTF-16) of surrogate pairs is invalid.
    Then, I read the following pages.
    These pages are written that unicode-range supported surrogate pairs.
    http://livedocs.adobe.com/flex/3/html/help.html?content=fonts_07.html
    http://www.w3.org/TR/1998/REC-CSS2-19980512/fonts.html#descdef-unicode -range
    So please let me know how to create the SWF file which are included surrogate pairs.
    Environment
    - Flex3.5a
    - TTC: meiryo(ver6.02), msgothic(ver2.50), mspgothic(ver2.50)
    Thanks,
    Takeshi Ishihara.

    I've been able to create project jar files in Eclipse by selecting Export from the File menu, then choose Java - Jar file - and provide the required information, name, destination folder etc. But when I do this, I do not export other jars on the build path this way nor do I expect to do this. I am only concerned with creating a jar file of my own work. A jar file does not "contain" other jar files. If the jar file contains the main method, and requires other jars for it's execution, then you may wish to include a reference to required jars on the class path entry of the Manifest file of the jar file you create. I'm not sure how to create a Manifest file in eclipse though..

  • How to delete the messages from SXMB_MONI which are already cancelled .

    Hi All,
    The messages were earlier in System error(Red flag) state so i cancelled it manually.
    I want to know how to delete the messages from sxmb_moni which are already cancelled manually using ctrl+f8.
    if not possible , then i want to see them in earlier state i.e.., in System error(Red flag).
    can any tell me the procedure of doing it.
    thanks
    Sai.

    Hi AmitSri,
    Thanks for u r reply,
    What is retention period, where can i find this option.
    And i don't have authorizations to sxmb_adm --> configure delete procedure
                                                                             --> Define interfaces for archiving and retention period.
    and to RSXMB_DELETE_MESSAGES in se38 , i don't have authorizations to run
    Is there any way to delete the messages or make them to System error( Red flag) which are manually cancelled.
    Thanks
    Sai.
    Edited by: sai_SHA on Aug 17, 2011 12:29 AM

  • How to delete the queries in  BW Production which are no longer existing.

    Hi,
    How to  delete the queries in BW production which are no longer existing in DEV.
    1. I tried Using RSZDELETE in Production it is not getting deleted and the below message given.
    Query object 4A7V83T3RB4ABIOKSDJT2HWDL is blocked. Deletion has been cancelled.
    2. I tried creating another query in dev with the same technical name and send a transport with deletion
    it is not working.
    Please advise me on this for any function module or any other method.
    Thanks
    Surya

    Hi,
    If you transported the query from DEV and now you want to delete it, you should open a BEx request (Dev Class under which it was originally transported -- or-- Standard - type) in DEV delete the query and move the transport to Production.
    As far as your error is concerned, usually  when you  can delete a query using the delete option in query designer itself,
    Business Explorer> query-> delete objects , when you press execute the system offers you a list of dependent objects on the query(workbook,views), in case the sysytem is unable to delete them i.e.they being used as a input query for a characteristic variable (replacement path),then system throws this error.You can delete these all depndents under there prescribed roles , fav s & then proceed.
    Hope this will be expedite.
    Thax & regards.
    Vaibhave Sharma

  • When I downloaded a new version of Firefox the old version was never deleted, and now I can't tell which is the new and how to delete the old.?

    I have two Firefox versions on my laptop. One is 3.6.10 I believe and the other is some other version of 3.6. Why didn't it disappear when I downloaded one of your requests to update? Now I don't know how to delete the other one or even which one is the oldest?

    If you mean that you see both version listed in Control Panel > Add and Remove Programs then you most likely only have the version with the highest number installed. You posted with a Firefox 3.6.6 user agent. It can happen that the updater didn't remove or updated the registry keys properly and left the old keys.

Maybe you are looking for