A way to modify the ResultProcessing.cfg file outside of TestStand?

All,
I'm looking for a way to change the style sheet path one time (not hard code it in NI_ReportGenerator.seq), would anyone know of a way how to do it with a vi or something to that affect?  The goal is to initially setup a tester (remotely, I will not be on site to set this), but not hard code them to this one stylesheet.
I'm using TestStand 2012
Thanks,
Bill
John 3:16

The file is an xml text file. If your style sheet values are sufficiently distinct, it shouldn't be too hard to just find and replace the text.
The file is also a TestStand ProperyObjectFile. ResultProcessing.c has code that modifies it using the TestStand API. However, that requires TestStand to be installed and is not nearly as simple as finding and replacing a text string.

Similar Messages

  • Modifying the directory of file events

    Hi, This is my first post.  I apologize if my post is confusing.
    I have been looking all over for a way to modify the file events after the import from BO 6.5 into XI 3.1 automatically.
    I have about 1400 events to modify the directory they refer to.  Our current set up does not allow us to point to the current directory since we have to have the events trigger instead of having a watcher system. 
    Has anyone used a java SDK to automate moving the events from
    server1\events_name to
    server2\events_name.
    It would just go through all the events and replace server1 with server2.
    Thank You in Advance for any help

    This code will trigger all the events in the 'repository'.  Can someone help modify this to change the server directory?  I believe that all that needs to be altered is this section.
    //Go through each event returned and add it to the table
                   for (int lIdx = 0; lIdx < lInfoObjects.size(); lIdx++)
                        //Retrieve the current event object
                        IEvent oEvent = (IEvent)lInfoObjects.get(lIdx);
                        IUserEvent lUserEvent = (IUserEvent) oEvent.getEventInterface();
                        lUserEvent.trigger();
    I think what needs to be replaced is lUserEvent.trigger(); with something that will modify the SI_FEATURES section of the event.  I am not sure how to get the current SI_FEATURES -> SI_FEATURES -> SI_FILE and replace with a different directory.
    Like *
    server_name1\sources_closed\event_name1* to *
    server_name2\sources_closed\event_name1*
    Below is code from this example:
    import com.crystaldecisions.sdk.exception.SDKException;
    import com.crystaldecisions.sdk.framework.CrystalEnterprise;
    import com.crystaldecisions.sdk.framework.IEnterpriseSession;
    import com.crystaldecisions.sdk.framework.ISessionMgr;
    import com.crystaldecisions.sdk.occa.infostore.IInfoObjects;
    import com.crystaldecisions.sdk.occa.infostore.IInfoStore;
    import com.crystaldecisions.sdk.plugin.desktop.event.IEvent;
    import com.crystaldecisions.sdk.plugin.desktop.event.IUserEvent;
    public class triggerEvent {
         public static void main(String[] args) {
              String lUser = "administrator";
              String lCMS = "servername";
              String lPWD = "";
              String lSecurity = "secEnterprise";
              IEnterpriseSession lEnterpriseSession = null;
              try {
                   //Retrieve the ISessionMgr object to perform the logon
                   ISessionMgr lSessionMgr = CrystalEnterprise.getSessionMgr();
                   //Logon to Enterprise
                   lEnterpriseSession = lSessionMgr.logon(lUser, lPWD, lCMS, lSecurity);
                   //Retrieve the InfoStore object from the Enterprise Session
                   IInfoStore lInfoStore = (IInfoStore)lEnterpriseSession.getService("", "InfoStore");
                   //Create the query to retrieve the all the events
                   String lQuery = "SELECT * " +
                                   "FROM   CI_SYSTEMOBJECTS " +
                                     "WHERE  SI_KIND = 'Event' " +
                                     "ORDER BY SI_NAME";
                   IInfoObjects lInfoObjects = lInfoStore.query(lQuery);
                   //Display a message if no results were returned
                   if (lInfoObjects.isEmpty())
                        return;
                   //Go through each event returned and add it to the table
                   for (int lIdx = 0; lIdx < lInfoObjects.size(); lIdx++)
                        //Retrieve the current event object
                        IEvent oEvent = (IEvent)lInfoObjects.get(lIdx);
                        IUserEvent lUserEvent = (IUserEvent) oEvent.getEventInterface();
                        lUserEvent.trigger();
                   lInfoStore.commit(lInfoObjects);
              } catch (SDKException e) {
                   e.printStackTrace();
              } finally {
                   if (lEnterpriseSession!= null) {
                        lEnterpriseSession.logoff();

  • What is the best way to modify the closed captioning button to read "FR" instead of "CC"

    I'm considering using Flash to modify the button text for the CC button in one of the playbars.
    Just wanted to know if there is a better way than hacking the playbar fla file.
    And if this is the only way, if there are publishing settings to watch out for with the swf file output.

    Other than hacking it from Flash, you can insert a button (Labelled FR) to appear for your project and user can click on it to toggle the Closed Caption on/off, you can use the cpCmndCC variable, 0/1, Enable/disable closed captioning (CC). You can keep the Closed Caption button unchecked from Skin.
    This should be easier, I guess.
    Alternately, you can learn in depth about customzing Playbars here --
    http://blogs.adobe.com/captivate/2010/11/playbars-demystified.html
    Good luck.
    Thanks,
    Anjaneai

  • Can XML Publisher add a digital certificate (cert.pfx) via the xdo.cfg file or do I need to upgrade and use BI Publisher instead?

    Hi Guys
    I need to add a digital certificate to a clients customer statements and invoices. XML Publisher 5.6.3 has been used originally to design the templates as RTF. I have the following questions please...
    1. Can an RTF template be used or do I need to convert it to a pdf template?
    2. Can XML publisher even be used or do I need to get the DBAs to install BI Publisher. XML Publisher doesn't even have the signature properties in the admin screens that BI Publisher has.
    Below is a copy of the xdo.cfg file which currently does not add the pfx file...
    <config version="1.0.0"  xmlns="http://xmlns.oracle.com/oxp/config/">
    <properties>
       <property name="system-temp-dir">/tmp</property>
       <property name="pdf-security">false</property>
       <property name="pdf-open-password">testpass</property>
       <property name="pdf-permissions-password">testpass</property>
       <property name="pdf-encryption-level">1</property>
       <property name="pdf-no-printing">true</property>
       <property name="pdf-no-changing-the-document">true</property>
       <property name="signature-enable">true</property>
       <property name="signature-pkcs12-path">/app/oracle/product/appldev/apps/apps_st/appl/xdo/12.0.0/resource/digcert.pfx</property>
       <property name="signature-pkcs12-password">testpass</property>
       <property name="signature-field-location">top-left</property>
       <property name="signature-reason">taxreasons</property>
       <property name="signature-signed-at">Cape Town</property>
       <property name="signature-display-style">detailed</property>
    </properties>
    </config>
    Any help will be greatly appreciated.

    thanks for the summary of the many posts and threads describing all of these steps.

  • I have a mid year 2007 24 inch iMac and will be purchasing a new 27 inch Retina iMac, what is the easiest way to transfer the data and files from my old machine to the new one?

    I have a mid year 2007 24 inch iMac and will be purchasing a new 27 inch Retina iMac, what is the easiest way to transfer the data and files from my old machine to the new one?

    Following up on this thread,
    I have a new iMac on the way and my current is from 2008, never had a problem but I am sure there are internal issues that I would prefer not to transfer.
    I have no issues other then the slowness in certain programs and that is the main reason to buy a new one.
    Programs like numbers and pages seem to take a longer time to open after I update to Yosemite.
    I only use 272GB of 500 GB, my memory is 4GB and I am upgrading to 8Gb and bought the 4.0 processor.
    Question:
    Is there a way to manually transfer items or would that be a waste of time in that if there are issues they could be anywhere and would transfer anyway?

  • Windows 8.1 Update and the EI.cfg file

    Hi
    I have noticed that, installing Windows 8.1 Update Core or Pro with the Multiple Editions MSDN iso, I see, with the slmgr.vbs /dli command, that its distribution channel is Retail. If, however, I add the EI.cfg file
    [Channel]
    Retail
    [VL]
    0
    in sources directory of the iso using Windows ADK for Windows 8.1 Update, the distribution channel becomes Volume. How come?
    Where am I wrong?
    Thanks
    Bye
    Balubeto

    Since the Windows Update 8.1 Update (Multiple Editions) MSDN iso includes the retail editions of the Core and Professional, how I should do to change this iso so that, during the installation, allow me to choose which edition to install?
    In addition, I would include in this iso my two serial numbers of installation (one for the Core and the other for the Professional) so that I should not insert any serial number during installation.
    So, what should I do to reach my goal?
    Thanks
    Bye
    Balubeto

  • Problems with jdbc configuration  in the config.cfg file

    Hi to all,
    I need to change my oracle database ucm user from idc_orcl to idc_oracle for example but i dont know how to generate the encrypted password of the user in the config.cfg file
    if I let the configuration like below (plain text password and JdbcPassword commnetend) it works.
    But it is not an accepted solution for me, leaving the password in plain text.
    +#Database Variables+
    JdbcDriver=oracle.jdbc.OracleDriver
    JdbcConnectionString=jdbc:oracle:thin:@localhost:1521:ucm
    JdbcUser=idc_oracle
    JdbcPassword=idc_oracle
    +#JdbcPasswordEncoding=Intradoc+
    +#DatabasePreserveCase=1+
    Is there any doc or example related.
    Thanks in advance
    Soni

    Resolved using the following link
    http://www.docs.hvacpartners.com/idc/help/troubleshooting/wwhelp/wwhimpl/common/html/wwhelp.htm?context=troubleshooting&file=page_05_12.htm
    Hope it helps someone in the future!

  • Is there any way to off the limitation of file upload?

    Hi
    jdev 11.1.1.5
    Is ther any way to off the limitation of file upload size?
    I want to handle in in my code

    Duplicate of {thread:id=2541076}
    Timo

  • Problems modifying the httpd.conf file

    We are running Flash Media Server 4.5 on Windows Server 2008. We want to move the vod folder which by default is in webroot. We create a new vod folder and then modify the httpd.conf file so that it points to the new vod location. We then stop and restart the Flash Media Server service. However, the server acts like the old paths are cached somewhere in the system. Videos in the new vod folder do not work. Videos in the old vod folder open even though the httpd.conf file was modified.
    We made sure that the client browsers on which we tested this had their cache cleared.
    Anyone have any ideas what might be going on here?

    Thanks for your reply! I tried restarting the FMSHttpd service separately. Still encountering this issue, however.
    Here's what we are doing:
    1. We create a new vod folder.
    2. We modify the httpd.conf file in Flash Media folder -> Apache2.2 -> conf so that it points to the new vod location. For example, we make a modification to HttpStreamingContentPath like the following:
    <IfModule jithttp_module>
    <Location /hds-vod>
        HttpStreamingJITPEnabled true
        HttpStreamingContentPath "..\..\[new vod folder]"
        HttpStreamingJITConfAllowed true
        JitFmsDirPath ".."
        Options -Indexes FollowSymLinks
    # Uncomment the following directives to enable encryption
    # for this location.
    #   EncryptionScope server
    #   ProtectionScheme phds
    </Location>
    </IfModule>
    3. We restart the FMSHttpd service.
    After doing this, we find that the path to the old vod folder is still working. Videos in the new vod folder don't open as expected.
    Are there any other steps that we should be taking? Many thanks for any help.

  • Modify the initrd.gz file on Zenworks 4.01 ir7 bootcd

    We are having issues with the Dell Optiplex 755 model with our Zenworks 4.01 ir7 bootcd but we found the issue.
    By remming (using the # symbol) out certain lines in the install.s file we are able to successfully intall the Zen Partition To test this out we ran manual from the Zenworks 4.01 ir7 bootcd and copied the install.s from the Zenworks 4.01 ir7 bootcd onto the Zen Partition and we modified the few lines in the install.s file (using the # symbol as mentioned earlier) and the ran install.s from the hard drive and it worked great! Running install.s from the Zenworks 4.01 ir7 bootcd however generates errors.
    Here's the problem, we need to incorporate the changes to the install.s file into our Zenworks 4.01 ir7 bootcd.
    Now the install.s is located in the initrd.gz file, and the initrd.gz file is located at the root of our Zenworks 4.01 ir7 bootcd (bootcd.iso was copied from SYS:\Public\Zenworks\Imaging).
    We normally use the Slackware 10.2 Linux to compile drivers for our Zenworks 4.01 ir7 bootcd box as it uses the kernel 2.4.31 which is the kernel of our Zenworks 4.01 ir7 bootcd.
    How can we modify the install.s in the initrd.gz, and then include the new initrd.gz file which is located at the root of our Zenworks 4.01 ir7 bootcd?
    Also, does other files such as isolinux.cfg have to be factored in as well?
    We read some documentation on Novell's support but it keeps referring to initrd and not initrd.gz, also in the documentation I read it states that initrd is located in the /boot/loader on the bootcd, but we don't have these directories on our Zenworks 4.01 ir7 bootcd and we don't have initrd but we do have initrd.gz at the root of our Zenworks 4.01 ir7 bootcd as mentioned previously. We used our Slackware 10.2 Linux box to follow this documentation link below.
    Here's the link to the document we were doing for Netware 6.5 SP2 and earlier, we didn't use the Zenworks 7 approach:
    Cool Solutions: Compiling Scripts within the ZENworks Imaging Boot CD
    Thanks!

    pilonbrad,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://support.novell.com/forums/faq_general.html
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

  • Is there a way to modify the style sheet so that it transforms an XML document with empty tags as tag / ?

    I have extracted some code from codeproject to
    reindent an XML document. Does anyone know how I can modify the stylesheet to make it so that the transform of an XML file will result in empty tags showing up as <tag /> instead of <tag></tag>?
    // http://www.codeproject.com/Articles/43309/How-to-create-a-simple-XML-file-using-MSXML-in-C
    MSXML2::IXMLDOMDocumentPtr FormatDOMDocument(MSXML2::IXMLDOMDocumentPtr pDoc)
    LPCSTR const static szStyleSheet =
    R"!(<?xml version="1.0" encoding="utf-8"?>)!"
    R"!(<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">)!"
    R"!( <xsl:output method="xml" indent="yes"/>)!"
    R"!( <xsl:template match="@* | node()">)!"
    R"!( <xsl:copy>)!"
    R"!( <xsl:apply-templates select="@* | node()"/>)!"
    R"!( </xsl:copy>)!"
    R"!( </xsl:template>)!"
    R"!(</xsl:stylesheet>)!";
    MSXML2::IXMLDOMDocumentPtr pXmlStyleSheet;
    pXmlStyleSheet.CreateInstance(__uuidof(MSXML2::DOMDocument60));
    pXmlStyleSheet->loadXML(szStyleSheet);
    MSXML2::IXMLDOMDocumentPtr pXmlFormattedDoc;
    pXmlFormattedDoc.CreateInstance(__uuidof(MSXML2::DOMDocument60));
    CComPtr<IDispatch> pDispatch;
    HRESULT hr = pXmlFormattedDoc->QueryInterface(IID_IDispatch, (void**)&pDispatch);
    if (SUCCEEDED(hr))
    _variant_t vtOutObject;
    vtOutObject.vt = VT_DISPATCH;
    vtOutObject.pdispVal = pDispatch;
    vtOutObject.pdispVal->AddRef();
    hr = pDoc->transformNodeToObject(pXmlStyleSheet, vtOutObject);
    //By default it is writing the encoding = UTF-16. Let us change the encoding to UTF-8
    // <?xml version="1.0" encoding="UTF-8"?>
    MSXML2::IXMLDOMNodePtr pXMLFirstChild = pXmlFormattedDoc->GetfirstChild();
    // A map of the a attributes (vesrsion, encoding) values (1.0, UTF-8) pair
    MSXML2::IXMLDOMNamedNodeMapPtr pXMLAttributeMap = pXMLFirstChild->Getattributes();
    MSXML2::IXMLDOMNodePtr pXMLEncodNode = pXMLAttributeMap->getNamedItem(_T("encoding"));
    pXMLEncodNode->PutnodeValue(_T("UTF-8")); //encoding = UTF-8
    return pXmlFormattedDoc;
    Or, if there is some other method for reindenting a MSXML2::IXMLDOMDocumentPtr object where I can specify how I want empty tags to be stored, that would be great too.  However, I don't want it to lose its status of an MSXML2::IXMLDOMDocumentPtr object.
     I.e. I would like to still perform operations on the result as if it was still an MSXML2::IXMLDOMDocumentPtr object.
    Thanks,
    A
    Adrian

    If anyone is interested, I got an answer on StackOverflow
    here.
    Adrian

  • Is there a way to change the actual song file but keep the 'info'?

    I have a compilation that took me a really long time to edit (by which I mean put the date for each individual song in because they were all released different years becaues it's a Bob Dylan compilation and I have smart playlists for each decade from the 50's upwards) and I want to change the actual file in itunes but keep the data, is there any way? It'd take ages to do again because it's a 3-cd album. I'm trying to change the file because the one I have is approx 200kbps bit rate and i want to have a different, 320kbps version that i've downloaded. I've tried opening the file in explorer and deleting it so that i can 'locate' the file again to the one i want to replace it with, but it changes the song title, album artist, and tags etc to the new file, whereas i thought it would just retain the information but change the actual file it played.
    i've had a really hard time explaining this i'm sorry if it's unclear. i was just wondering if there was any way to avoid the painstaking process of googling each song to find its release date and manually entering it when i already have a perfectly organised album.
    i can't find anything anywhere about this, presumably because i've no idea what the key words for the search would be, so i'm sorry if this is common knowledge.
    thanks in advance

    VBR vs. CBR isn't a concern as far as the strategy is concerned. As given it is slightly easier if the replacement files have exactly the same files names and folders as the files they are replacing (case doesn't matter) but if that isn't possible we can work around that too.
    Not my area but I think CBR gives larger files and less processing overhead for the same quality, which is a somewhat nebulous term. I'm not sure there is any real benefit.
    Yes a script is just another kind of a program.
    iTunes gives each track in the database a unique ID and knows the path that the file is supposed to live on. If you replace the original file with a different file of higher bitrate that has the same filename then iTunes will use that new file next time it wants to play the track. When it does so it will also read the tag and update itself if any of the information is different.
    The original function of the ExportImport script was to help someone else rescue play counts from an old library database. If works by scanning through selected tracks and writing out a text file that contains an ID for each track and the data that wants to be copied back later.
    Here is a sample output from the export:
    <#>iTunes Metadata - Exported 19/12/2012 20:03:58
    <ID>E5C69360-306A28AF
    <#>AC-DC\AC-DC Live\1 Thunderstruck
    <Plays>12
    <ID>7C1D487C-3414298C
    <#>AC-DC\AC-DC Live\2 Shoot To Thrill
    <Plays>12
    <ID>0DCF32CE-1079174E
    <#>AC-DC\AC-DC Live\3 Back In Black
    <Plays>15
    Each block consists of the iTunes track ID, a comment so we humans can see which track this is, followed by one or more properties. I can write you a custom version of this script but I need to know exactly which properties you need to save and then restore. For example Name, Year, Genre, etc. You need to compare a new and old version of one of your songs and work out which fields need resetting in the new song to make it match the old one.
    Having saved a file with the information that would otherwise change, you can then delete the older copies of the file, or better yet move them to a backup location, then copy in the new versions. If the filenames match iTunes will "see" the new files automatically, otherwise my FindTracks script can normally fix the broken links. Once iTunes is connected to all of the new files you drag and drop the saved text file onto the ExportImport script to run the import phase. This applies the saved data to each track in turn.
    tt2

  • [CS2 on Windows XP]: Is there a way to modify the JPG compression in an SVG?

    Hello,
    I have got an EPS file.It contains some text, some paths, and a rastered image.
    Saved as a JPG with moderate compression it is 125KB in size. For an EPUB I want to insert is as an SVG. But when I save it as an SVG (text being converted to paths) it is over 600 KB and thus exeeding the 300k limit that exists for files within an EPUB container.
    Is there a way to have the JPG stream in the SVG more compressed? The W3C spec of the SVG format doesn't say anything about a fixed compression level, so I guess the compression can be varied. But Illustrator CS2 doesn't seem to have any appropriate setting.
    Best regards,
    Christian Kirchhoff

    If anyone is interested, I got an answer on StackOverflow
    here.
    Adrian

  • Is there a way to make the AAC music files smaller?

    A while ago the AAC music files seemed to double, I want to save room on my computer so I've been changing all my songs to the mp3 setting instead, but I would like to go back to AAC, but they are way to big. Does anyone know how to make them smaller?

    Go to iTunes>Preferences, click the 'Import Settings' button: choose the 'AAC' encoder in the top menu, set the second menu to 'Custom' and choose your bitrate.
    Now close Preferences. Now go to the 'Music' section in iTunes. Select all the songs you want to convert. From the 'Advanced' menu choose 'Create AAC Version'. Copies of the selected songs will be made as AAC files. You can drag these out to the Desktop or a folder and delete them from iTunes, or delete the MP3 versions.
    However note that if you have moved to MP3 you have already degraded the quality, and while you can make the files a good deal smaller doing so will degrade it further. You would need to experiment so you can balance degradation of quality agains file size.

  • Way to modify the employee's information (enhanced InfoType) in MSS?

    In MSS General Information/ Related Activity area, the manager can modify the employee's information (Addr. Family Member, etc.), as it is a standard module.
    Now we have an enhanced InfoType in ECC backend, and want to make it can be modified by the manager through MSS like the other information(Addr. Family Member, etc.).
    Is there a way to realize this?
    Thanks very much.
    ps. We don't have the NWDI environment. EP 7.0  SP10.
    Weiming

    General notes
    1. You really should have error checking after most lines
    2. You don't need to get the field ids every time.
    Something is wrong in your implementation or description. Or both.
    You are attempting to get an object from the array. Then you modify the data in it. Then you set it back into the array.
    You don't create a new object anywhere.
    So which is it? Is the array empty or is it populated with objects and you are just setting the data in each? The code suggests both (obviously illogical.)

Maybe you are looking for