Dynamic Configuration Issue

Hi Experts,
My scenario is File to IDoc.
Once file has been picked up by the file adapter from source directory and it has to archived in other (target) directory with DIFFERENT file name.
By using following dynamic configuration code I have changed the file name, but I couldn't able to place this file with new name in archived folder. Please help me in this regard...
DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
String MyFileName = "INV.2920.1.CSV_"datetime+ ".xml";+
conf.put(key, MyFileName);
return MyFileName;

My scenario is File to IDoc.
Once file has been picked up by the file adapter from source directory and it has to archived in other (target)
directory with DIFFERENT file name.
this logic wont work....FileName cannot be determined Dynamically for the file to be archived.
Regards,
Abhishek.

Similar Messages

  • Issue in Dynamic configuration in SOAP receiver channel

    Hi All,
    My scenario is file to SOAP. At receiver side I want to generate URL dynamically.
    To proceed step by step, I started with passing a constant URL to Dynamic configuration UDF.
    mapping:
    Dynamic conf. UDF
    Channel Configuration:
    From testing, I found that channel always takes the url given in Target URL field and dynamic URL in TserverLocation is been ignored by the channel.
    That is dynamic configuration is not working completely.
    I went through a lot of blogs and also tried a lot of trial and error methods, but none helped. Every thing I configured looks perfect for me, but still not working. I don't understand where I went wrong. Please help me.

    Hi Experts,
    I am facing similar issue,
    URL --> UDF --> @dynamicvariable
    I have created a variable underparent node eg: DESADV-->dynamicvariable
    passed complete URL to UDF, below is the UDF
    & configured SOAP Receiver Channel as well. This is IDOC to IDOC scenario, using IDOC_AAE on sender side and SOAP on receiver in single stack.
    --> Checked ASMA
    --> Checked Variable Transport Binding and given "TServerLocation" without quotes in XHeaderName1
    --> Target URL: http://
    But when I am running this interface, nothing is coming in Dynamic configuration.
    Ref: Message Log:
    MM and OM is also perfect in ESR.
    Any suggestions? Please advice.
    Regards
    Singh

  • Dynamic Configuration Tool Issues

    Hi,
    Has anyone run into issues with the cisco dynamic configuration tool? I recently noticed I cannot customize the hardware I am trying to configure. This was not like this in the past.

    Hi Laurence,
    According to your description, you are creating a SQL Server Reporting Services report using SSAS cube as the data source, there are 40 parameters in the MDX query, so the performance is poor, right?
    In your scenario, you said that 10 of the parameters using existing function, so you suspect that the issue can be caused by the existing function. Based on my research, it seems that the existing function is not a problem. Only issue is that use existing
    function together with nonempty function, please refer to the link below to see the detail information about it.
    http://cwebbbi.wordpress.com/2009/03/31/existing-and-nonempty/
    In additional, I'd suggest you enable SQL profiler to monitor the queries fired by the query, once you find some queries took a very long time to run, consider creating the smaller cube partition or optimizing the query by adding index or partition
    to improve the query performance. Here are some links about performance tuning.
    http://www.bidn.com/blogs/DustinRyan/bidn-blog/2636/top-3-simplest-ways-to-improve-your-mdx-query
    http://blogs.msdn.com/b/azazr/archive/2008/05/01/ways-of-improving-mdx-performance-and-improvements-with-mdx-in-katmai-sql-2008.aspx
    http://www.packtpub.com/article/query-performance-tuning-microsoft-analysis-services-part1
    Hope this helps.
    Regards,
    Charlie Liao
    If you have any feedback on our support, please click
    here.
    Charlie Liao
    TechNet Community Support

  • Dynamic file name configuration issue

    Hi,
    My scenario is Idoc to multiple file scenario..
    I need to drop 2 files at the target with the file names to be configured dynamically, at present i have used dynamic UDF to drop the files with the dynamic name. but i am getting the output files with the same name i mean the name which i used in the second structure.
    eg: Input -- IDOC
    ouput: i need to have abc.idocnumber.sysdate.xml & xyz.idocnumber.sysdate.xml
    But now we are getting as xyz.idocnumber.sysdate.msgid.xml & xyz.idocnumber.sysdate.xml
    so correct me if i am wrong .. i should not use 2 dynamic UDF in a single scenario..
    else can i use variable substitution for one structure and Dynamic UDF for another structure..
    please suggest some solution
    Thanks,
    --Kishore

    Hi Kishore,
    you can append the system date to the filename of the receiver.
    Try the below code:
    SimpleDateFormat simpledatFormat = new SimpleDateFormat("yyyyMMdd");
    Date date = new Date();
    String datewithYear = simpledatFormat.format(date);
    SimpleDateFormat simpledatFormat1 = new SimpleDateFormat("HHmmss");
    Date date1 = new Date();
    String datewithMs = simpledatFormat1.format(date1);
    DynamicConfiguration conf = ((DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION));
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http:/""/""sap.com""/""xi""/""XI""/""System""/""File" , "FileName");
    String oldFileName=conf.get(key);
    String valueNew;
    if( oldFileName == null){
    valueNew = "HRXML"datewithYeardatewithMs+".xml";
    else{
    valueNew =oldFileNamedatewithYeardatewithMs+".xml";
    //set the new filename
    conf.put(key, valueNew);
    Are you using multi-mapping? If so Dynamic configuration does not work.

  • Configuring a Static WCF Port to Behave as a Dynamic Port Issue

    I have WCF-Basich send port and i have developed a custom pipeline where i am resetting the "BTS.OutboundTransportLocation" based
    on the input message received .So, for different message , i am setting the different value to the "OutboundTransportLocation"
    by writing in context and hence making my wcf basic send port dynamic.
    Issue : it seems value of "OutboundTransportlocation" is not resetting properly and using the old value set during first time.For
    e.g. if first time i reset the correct url in the outboundtransport location and if second time if i set the wrong url/different url, it takes the previous url while sending the message.However,All
    logging (BTS HAT and such) all seem to indicate all works fine.
    Only after restarting the host  it takes the latest one or correct one .It seems
    "WCF BasicSend port is using caching and does not react well to changing in url's 'in flight'.
    What is the solution for this ?
    Manish

    Hi Manish,
    Please set IsDynamic property to true in your custom code. :) :) :)
    Regards,
    Parashu.
    parashuram

  • Variable substitution or dynamic configuration

    Hi,
       I am doing Proxy sender to File receiver scenario. I have message payload like,
    MTtest1..... 0..1
    date.... 0..1
    item....0...unbound
    I want to create a text file  with the name SAP<date>.
    I am using a variable substitution method, date: payload: MTtest1, 1, date, 1
    Target directory: SAP%date%
    I am getting the filename correctly, But this creates a blank line in the top of the file. Please suggest me how to overcome this issue.
    If a send the date at the end, how the it must be written in variable substitution method.
    If I need to use dynamic configuration, please tell me how to do that, i saw few blogs, but i am not able to get it.
    Thanks and Regards,
    Sri

    Dear Arunsri,
    Better to use Dynamic Confi method becs its recommended by SAP also.
    Please Follow the below steps.
    (1)Create the UDF and pass Filename as an Input parameter as shown here.
    public String Set_Output_File_Name(String var_Filename, String var_Directory, Container container) throws StreamTransformationException{
    DynamicConfiguration conf = (DynamicConfiguration) container
        .getTransformationParameters()
        .get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    conf.put(key, var_Filename);
    return  "TRUE";
    (2)In File receiver adapter configuration, select the Adapter Specific message attributes and in that select the Filename Option.
    Regards
    jagesh

  • Dynamic Configuration Error

    Hi All,
    I have tried a simple scenario following the blog:
    /people/jin.shin/blog/2007/04/27/sap-netweaver-xi-variable-substitution-with-adapter-specific-message-attributes-via-dynamicconfigurationbean
    I tried just the way as mentioned but getting error as "write property message.interface from key (http://sap.com/xi/XI/System/File)FileName with value null; "
    The Filename is not populated from the source file name.
    Can somebody please tell me what Iam missing.
    Aslo in the blog, its mentined as Dynamic Configuration under XI  Message Header, which  is not displayed for me ..
    Please help me in resolving this issue.
    Thanks

    Hi Rajesh,
    I tried as you have suggested but still same issue.
    My file is getting picked up but as the file name is not filled by Adapter module, Im not getting the output file generated.
    when checked in Runtime workbench, communication channel got error as"
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: The Adapter Message Property 'FileName' was configured as mandatory element, but was not supplied in the XI Message header: com.sap.aii.adapter.file.configuration.DynamicConfigurationException: The Adapter Message Property 'FileName' was configured as mandatory element, but was not supplied in the XI Message header"
    Thanks

  • Dynamic Configuration for IDOC

    Hi,
    Whenever an IDOC is send from SAP R3 system to PI (SAP R3 -> SAP PI -> Target), we get an additional node of Dynamic Configuration under the SOAP Header in SXMB_MONI.
    Why is this happening? Does this happen for all the versions of SAP XI (PI)?
    This issue does not occur when the IDOC is send by SAP PI to SAP R3 system (Source --> SAP PI --> SAP R3)
    I am using SAP PI 7.1.1
    Thank you,
    Pankaj.

    Hi,
    Why this is an issue for you?
    I am trying to send IDOC from SAP System to PI system.
    Ideally there should be no DynamicConfiguration step under SOAP Header folder in SXMB_MONI (I tested a SOAP -> PI -> FILE and the Dynamic Configuration does not come); unless and until we make use of the ASMA properties (UDF/ Module). Is this understanding correct?
    For example, if I send an IDOC i get the below details in SXMB_MONI:
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?><!-- Response -->
    <SAP:DynamicConfiguration SOAP:mustUnderstand="1" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
    <SAP:Record namespace="http://sap.com/xi/XI/System/IDoc" name="RCVPOR">SAPPI</SAP:Record>
    <SAP:Record namespace="http://sap.com/xi/XI/System/IDoc" name="SNDPRT">LS</SAP:Record>
    <SAP:Record namespace="http://sap.com/xi/XI/System/IDoc" name="RCVPRN">SAPPISYSTEM</SAP:Record>
    <SAP:Record namespace="http://sap.com/xi/XI/System/IDoc" name="SNDPOR">SAPECC</SAP:Record>
    <SAP:Record namespace="http://sap.com/xi/XI/Message/30" name="CALLER_CODEPAGE">4102</SAP:Record>
    <SAP:Record namespace="http://sap.com/xi/XI/System/IDoc" name="SNDPRN">SAPECCSYSTEM</SAP:Record>
    <SAP:Record namespace="http://sap.com/xi/XI/System/IDoc" name="CIMTYP"/>
    <SAP:Record namespace="http://sap.com/xi/XI/System/IDoc" name="IDOCTYP">Z_VALIDATION_ACK01</SAP:Record>
    <SAP:Record namespace="http://sap.com/xi/XI/System/IDoc" name="MESTYP">Z1VALIDATIONACK</SAP:Record>
    <SAP:Record namespace="http://sap.com/xi/XI/System/IDoc" name="RCVPRT">LS</SAP:Record>
    </SAP:DynamicConfiguration>
    Is this behavior as expected?
    Thank you,
    Pankaj.

  • XSL mapping with Java enhancment PI 7.1 - Dynamic configuration

    Scenario - IDOC -> File
    XSL Mapping using dynamic configuration to set file name.
    1. Ive included
    xmlns:javamap="java:packageName.DynamicFunctionClass">
    in the XSL header
    2.Ive call this method javamap:transform($input, $output)
    In the Java code.
    1. Package = packageName
    2. Class Name = DynamicFunctionClass
    3. Class Compiles and I have uploaded into the ESR for a particular scenario. (source and class)
    4. extends AbstractTransformation and implements the transform method.
    public class DynamicFunctionClass extends AbstractTransformation{ .....
          public void transform(TransformationInput arg0, TransformationOutput arg1) throws StreamTransformationException {
    ISSUE -
    Essentially it looks as though PI cannot see the class file or is not able to reference it. I have created a static method in the class as well to access and this does not work.
    TRACE -
    Resource not found META-INF/Services/javax.xml.parsers.SAXParserFactory Thrown:
       com.sap.aii.ib.server.mapping.execution.MappingClassNotFoundException:

    Ive stumbled across the fact that JDK 1.5 does not allow for Mapping with Java enchanment it is a feature only in SAPXMLTOOL kit, I shall tick the little box in the Operational mapping ...

  • BPM Correlation from Dynamic Configuration not being filled

    Hey guys,
    I'm having the following problem with BPM correlation.
    In my correlation definition, I have 2 fields: one which is filled with information from the message payload, and another one which is filled with a context object (which was created with adapter metadata and filled with dynamic configuration, as refered here: /people/michal.krawczyk2/blog/2006/10/09/xi-dynamic-configuration-in-adapter-modules--one-step-further).
    All instances of BPM are with error status. And when I go into the workflow log for these processes, if I check the correlation object, it is like this:
    <?xml version="1.0" encoding="utf-8" ?>
    <CorrelationKey Version="001">
    <Field1 />
    <Field2>123456789</Field2>
    </CorrelationKey>
    Field1 is the one read from context object, and is not being filled (thus I think the error comes from here). Field2 is from payload and is being normally filled.
    Any ideas on this matter?
    Maybe the problem is not from the correlation. If not, what else could be the case? The BPM crashes on the very first step (one more reason to think that the correlation is the issue).
    Thanks in advance,
    Henrique.

    HI,
    In general Correlation , concept, whatever we configured in Correlation editor , i mean in runtime which xml element should filled with which element of which interface ..as you said you have configured the local correlation to block, in block it is the first receive step, while receiving the first message which is relevent to first recieve step , i mean if it receives the one message which is related to first receive step inteface .. the respective element data will be filled in correlation id and it will assign on giud for processing , so while assign the runtime data to correlation element ( imean filling stage) check you said two elements in correlation does the first message contains these two elements ??
    if so ok , no then check , and try to use the IM before calling the IP to fill the payload.
    Regards
    Chilla
    Oh closed!!
    Message was edited by:
            Chandra Sekhar Chilla
    Message was edited by:
            Chandra Sekhar Chilla

  • Proxy to file using dynamic configuration

    Hi Frnds,
    I  have a scenario ABAP_Proxy-XI-File, here in the proxy I am getting a pdf file with xml as attachment now I need to save the pdf file to the target folder with the name availble in one of the fields of attached xml file.
    I have used Adapter specific attributes option for filename substitution but getting the follwoing error:
    Attempt to process file failed with com.sap.aii.adapter.file.configuration.DynamicConfigurationException: The Adapter Message Property 'FileName' was configured as mandatory element, but there is no 'DynamicConfiguration' element in the XI Message header
    Please anyone can help me in overcoming this issue.
    Regards
    shiva

    U have a limitation here. At XI u can read only 1 file (pdf or xml). Bcoz receiver file adapter will not support attachment. pdf is required bcoz u need to transfer it to receiver. Xml is also required bcoz the directory name is inside that xml
    The workaround could be creating an adpater module that passes the directory name as well. U should send pdf file with xml as attachment.
    If u have the dir name, then the dynamic configuration code should be like this
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","Directory");
    conf.put(key,MappedDirectoryName);
    This MappedDirectoryName should be the name passed through payload. The receiver file communiation channel must have dummy dir name
    Regards,
    Prateek

  • Dynamic Configuration JMS

    Hi,
    i am trying to use dynamic configuration variable DCJMSMessageQueue as a condition for determining the receiver within the Receiver Determiniation. I can see the value in the DCJMSMessageQueue, but the condition is not applied.
    Have anyone tried to use this variable within the Receiver Determination (SP14)?
    Thnx in advance.
    Regards, Erik Hubers

    Hi Erik,
    I'm using JMS Channels and Adapter-specific attributes quite a lot (in my case it's DCJMSCorrelationID).
    So far I never had the requirement to use it in conditions in a Receiver Determination, but I set up
    a Receiver Determination to test it and it worked with SP15.
    Now what was a little strange is that the expression only worked if I set it up in the following way:
    DCJMSMessageQueue = queue:///EVENT_EB5331?targetClient=1
    where my queue name is solely EVENT_EB5331 (I'm using WebSphere MQ in native mode).
    Maybe that solves your problem (I actually copied this value, because it is the way it is written in the DynamicConfiguration
    piece of the XI message).
    There is another issue I had with the JMS Adapter Specific Attributes in SP14.
    The namespace of the attributes was implemented wrong (at least the one for DCJMSCorreleationID). Instead of
    'http://sap.com/xi/XI/System/JMS'
    it was just 'JMS'.
    Now if the condition is - by any reason - evaluated against the correct namespace (the long one)
    this could also be a reason why it is not working.
    Check the values in the DynamicConfiguration and have a look at the Trace.
    You should find something like this in the R E C E I V E R  D E T E R M I N A T I O N part of it:
    <Trace level="3" type="T">...call rule engine for Condition %CL_SAI_SWF_RULE_ENGINE.MSG_GET_SYSTEM
    (MSG=&_MSG&;SYSFIELD="DCJMSMessageQueue";
    SYSNSP="http://sap.com/xi/XI/System/JMS")% = queue:///EVENT_EB5331?targetClient=1</Trace>
      <Trace level="2" type="T">......attachment XI_Context not found</Trace>
      <Trace level="3" type="T">......extracting from attachment: DCJMSMessageQueue =
    queue:///EVENT_EB5331?targetClient=1</Trace>
      <Trace level="2" type="T">......extracting values found: 1</Trace>
    Compare the namespaces there with the one in the DynamicConfiguration.
    If there is a mismatch upgrade to SP15 or open an OSS Message.
    I hope that helps...
    regards,
    Peter

  • Dynamic configuration information

    I can call getConfigDescriptionRegistry.getConfigDescriptions or one of the other methods to get the configuration descriptions for an thing-type. If I wanted to modify these at runtime, and provide my own configuration provider, can I do this? I'm not sure what happens deeper in the system - I assume that only 1 provider can respond to any uri? Or maybe not - if so, how is this managed?
    I have two needs -:
    1) To be able to add some configuration options into a parameters [options] array. These are only derived at runtime and are system/network dependant, so can't go in the XML.
    2) To be able to add additional parameters to the configuration. Again, these are derived at runtime depending on how a device is configured (for example).
    I can easily create my own provider and completely avoid using the XML provider, but I'd kind of like to be able to lever off the existing infrastructure and just add to/modify the static configuration rather than have to reimplement everything...
    I guess I could (probably!?!) use getConfigDescriptionRegistry.getConfigDescriptions to get the static data, and then create my own provider that appends my data and modified the data that needs to be changed? I would guess it needs a different uri, although I suspect that this might then break something else when the system tries to link thing-types to the configuration provider? This seems a little messy though so maybe there's a better way?
    Are there any pointers on how this might be achieved? I'm thinking it might be easier to do it all in my own config provider which is what I'm currently doing (mostly for test and concepts), but I want to work out the best way for a the final implementation...
    Cheers
    Chris

    Kai Kreuzer wrote on Wed, 22 July 2015 10:44
    Which leaves us with Chris' problem that he would like to offer options specific to a certain device at a specific moment. The use case with the WLAN SSIDs is actually also such a case, so I guess sooner or later we need to address this.
    Where do we go with this one? It's my next target to hit
    So, if we don't want to link this to things (and I totally agree with the rationale), then we need an alternative. Currently, we have configDescriptions to describe the configuration options, but the 'other side' of the interface (the actual setting of the config) is done differently for different classes (I think that's true). For example, in the thingHandler, we have the handleConfigurationUpdate method - maybe in the channelHandler there's a similar method (I've not checked) - I don't know what other classes use the configDescriptions (rules I think?) but I guess every implementation is different?
    Why aren't there standard interfaces for handling the various configuration related functions. We could have had (eg) ...
    // Handle the updates of any configuration
    interface ConfigConsumer() {
    void handleConfigurationUpdate(Map<String, Object>);
    // Handle dynamic configuration updates
    interface ConfigDescriptionUpdate() {
    List<ParameterOption> getOptions(String parameterId, Locale locale);
    A thingHandler, or ruleHandler, or whatever wants to implement configuration implements these interfaces. Then, all configuration, both description, dynamic changes, and handling of changes, could all go through a central provider (and even REST interface!).
    As far as implementation (and looking specifically at things here - other implementations would be similar): For registration, when the thingHandler is created, a check could be made to see if it implements this/these interfaces, then to register this handler with the configDescriptionProvider (along with it's UID). When the config descriptions are updated, the configDescriptionRegistry can request the updates from the handler if there's one registered.
    One thing I'm unsure of here is the use of the UID. For things/channels etc, it seems a good idea to include the thingUID as it makes it a simple lookup in the configProvider (and if you didn't use the thingUID, I'm not sure how you'd link it). However, will all implementations of configDescriptions have a UID - eg I think I read rules will use the same config services - will they have a UID?
    I realise I've probably confused matters by suggesting a common interface for handling of config changes as well as just covering the issue at hand, but I thought I'd mention it since it does in some ways seem a shame to have a common config description provider, but no common way of handling configuration updates/changes etc... Anyway, I hope that didn't confuse matters (too much!) - we could ignore the handleConfigurationUpdate side, and just look at the ConfigDescriptionUpdate, which is the current issue at hand...
    What do you think? I've not thought this through in massive detail, but if you think this is workable, I'd be happy to look at the ConfigDescriptionUpdate impementation further...
    Chris

  • Reg:Dynamic Configuration

    Hi....
           I am having one problem while using Dynamic Configuration.
    In Dynamic Configuration, i am using the below code.
    DynamicConfiguration conf = (DynamicConfiguration) container
        .getTransformationParameters()
        .get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","Directory");
        conf.put(key, a);
    return "";
    I am having the condition like, if the Product code="DD" and Server Name =" A", then the file should be places in "Disb" directory else it should be places in the "Power" directory.
    Can you please help in this issue.
    I have executed the scenario, but both the files are going to the same folder.

    Hi...
      Check the below code whther it is correct or not.
    public String DynamicDirectory(String code,String server,Container container)
    DynamicConfiguration conf = (DynamicConfiguration) container
        .getTransformationParameters()
        .get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","Directory");
    if(code.equals("DD") && server.equals("DISB"))
    dir = "/home/corpuser/Disbursement/DD";
    else(code.equals("CC") && server.equals("DISB"))
    dir = "/home/corpuser/Disbursement/CC";
    config.put(key,dir);
    return "";
    While activating, i am getting the below error.
    usr/sap/APD/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map1354a56019d011debb16002264977f6e/source/com/sap/xi/tf/_MM_MTO_Payment_DB_To_MTI_Payment_DD_CC_.java:301: not a statement else(code.equals("CC") && server.equals("DISB")) ^ /usr/sap/APD/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map1354a56019d011debb16002264977f6e/source/com/sap/xi/tf/_MM_MTO_Payment_DB_To_MTI_Payment_DD_CC_.java:302: ';' expected dir = "/home/corpuser/Disbursement/CC"; ^ 2 errors
    Can you please in this issue.
    Regards,
    Leela

  • App-V 5.0 SP1 Bug: Dynamic Configuration Registry DWORD values?

    While sequencing Google Chrome in App-V 5.0 SP1 I came across an interesting issue.
    When setting registry settings using Dynamic Configuration it seems DWORDs are handled strangely.
    This is what I am trying to do:
        <Key Path="\REGISTRY\Machine\Software\Policies\Google\Chrome">
            <Value Type="REG_DWORD" Name="DefaultSearchProviderEnabled" Data="00000001" />
        </Key>
    This should export to:
    [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome]
    "DefaultSearchProviderEnabled"=dword:00000001
    Instead I get an invalid DWORD value which actually looks like a binary value. If I change to:
     <Value Type="REG_DWORD" Name="DefaultSearchProviderEnabled" Data="1" />
    I get a dword hexadecimal value of 31 or decimal value of 49.
    So I played around with the values. I used ! as the value and got a hex 21/decimal 33 back. It seems to me that it follows this standard:
    http:// www. klcconsulting. net/images/ascii-full.gif - sorry verification woes :-(
    , but in reverse.
    The documentation is minimal, so perhaps I am doing something wrong, but there's nothing to the contrary I can find.
    Any ideas?

    What happens if you set the data to "0x00000001"
    Please remember to click "Mark as Answer" or "Vote as Helpful" on the post that answers your question (or click "Unmark as Answer" if a marked post does not actually
    answer your question). This can be beneficial to other community members reading the thread.
    This forum post is my own opinion and does not necessarily reflect the opinion or view of my employer, Microsoft, its employees, or other MVPs.
    Twitter:
    @stealthpuppy | Blog:
    stealthpuppy.com |
    The Definitive Guide to Delivering Microsoft Office with App-V

Maybe you are looking for

  • Hi why when i plug in my ipad to my macbook the apps wont update that need updating on macbook and ipad

    Hi i am baffled as to why when i have apps sitting in my Itunes on the Macbook that need updating used to start straight away once i plugged in the ipad or iphone ,now all updates on ipad or iphone i do manually same with the macbook .Any help would

  • I'm having trouble installing Illustrator.

    I have pay as you go internet, and because the installation takes such a long time, no matter how much I top up  (usually £15) it runs out before it's installed. I was just wondering how long it's supposed to take. On my computer it takes 7 mins per

  • Newbie: How to select into a char pointer in Pro*C?

    All Pro*C samples I have seen selects a VARCHAR2 column into a host char array. I want to used a char * instead. However, each time I run the program after successful Pro*C and C compilation, I get a critical error. Can someone share some working cod

  • Person assignment table

    Hi all, Im looking for table which shows the relationship of person assignment to wbs. when we assign through edit....wbs...Project teamfor WBS. Is their any report or table. Regards

  • Printing Calendar in Yosemite

    How can I print the day of the week (Sunday, Monday, Tuesday, etc.) in Calendar?  I could do it in Mountain Lion.  I can't do it in Yosemite.