Content Validation Occurance

Does content validation happen at all during the distribution process? I know it occurs when it is scheduled on a DP and it can be triggered manually from a DP. Just not sure if it occurs any other times.
--Tony

Do you know off the top of your head if the validation occurs when a package is distributed to a DP? I can always monitor the DP to see if that task kicks off during a distribution. I came across
this which is pretty helpful too! 

Similar Messages

  • Create alert when content validation fails

    How can I create an alert (with email subscription) when content fails to validate on a distribution point or distribution point group?
    born to learn!

    AJM
    Did you come up with a solution for this? We are using SCOM to monitor the SMSDPMON.log on our DP's for a string of "Failed to evaluate package".
    Also, I have built a custom SQL report to query the SCCM database for this information and it is sent to me once a week, the day after content validation runs on the DP's. Below is the SQL code I am using, use it to build your own custom SCCM report. 
    select LastUpdateDate, MessageID,vSMS_DistributionDPStatus.PackageID,v_package.Name as PackageName, vSMS_DistributionDPStatus.Name as DistributionPoint
    from vSMS_DistributionDPStatus,v_package
    Where vSMS_DistributionDPStatus.PackageID = v_package.PackageID and MessageID = 9517
    -Tony

  • Content Validation Logs

    Is there a content validation log?
    I was getting an error during OSD that content is not available, but it is indeed on the DP. I have manually went in and selected each and every piece and selected validate. Now the Completion Statistics are just sitting here at 16 success and 84 In
    progress.
    This is only one DP that is having this problem
    Please Advise as I am pulling my hair out, one of our sites is entirely unable to deploy hardware without this.

    Based on that log... it just stopped yesterday and the content statistics in console stayed "in progress" with no updates.
    I have since kicked the scheduled task for content validation and it is running.
    I have one DP that is failing to present its content for a task sequence, though everything I look at shows the content on the DP. 
    It is listing 3 locations of content... but neither of these 3 are dps within their boundary. 
    Errors in smsts.log file
    Decompression (zlib) succeeded: original size 591, uncompressed size 3692.         
    TSMBootstrap   18/09/2014 8:19:11 AM     
    1032 (0x0408) Location Reply: <ContentLocationReply SchemaVersion="1.00"><ContentInfo PackageFlags="16777216"><ContentHashValues/></ContentInfo><Sites><Site><MPSite
    SiteCode="CA1" MasterSiteCode="CA1" SiteLocality="FALLBACK" IISPreferedPort="80" IISSSLPreferedPort="443"/><LocationRecords><LocationRecord><URL Name="http://CA1AP03P.******.com/SMS_DP_SMSPKG$/CA100014"
    Signature="http://CA1AP03P.******.com/SMS_DP_SMSSIG$/CA100014"/><ADSite Name="Corporate"/><IPSubnets><IPSubnet Address="10.1.17.0"/><IPSubnet Address=""/></IPSubnets><Metric Value=""/><Version>7804</Version><Capabilities
    SchemaVersion="1.0"><Property Name="SSLState" Value="0"/></Capabilities><ServerRemoteName>CA1AP03P.******.com</ServerRemoteName><DPType>SERVER</DPType><Windows Trust="0"/><Locality>FALLBACK</Locality></LocationRecord><LocationRecord><URL
    Name="http://CA2AP01P.******.com/SMS_DP_SMSPKG$/CA100014" Signature="http://CA2AP01P.******.com/SMS_DP_SMSSIG$/CA100014"/><ADSite Name="Corporate"/><IPSubnets><IPSubnet Address="10.2.17.0"/><IPSubnet
    Address=""/></IPSubnets><Metric Value=""/><Version>7804</Version><Capabilities SchemaVersion="1.0"><Property Name="SSLState" Value="0"/></Capabilities><ServerRemoteName>CA2AP01P.******.com</ServerRemoteName><DPType>SERVER</DPType><Windows
    Trust="0"/><Locality>FALLBACK</Locality></LocationRecord><LocationRecord><URL Name="http://MINN_DP.******.com/SMS_DP_SMSPKG$/CA100014" Signature="http://MINN_DP.******.com/SMS_DP_SMSSIG$/CA100014"/><ADSite
    Name=""/><IPSubnets><IPSubnet Address=""/><IPSubnet Address=""/></IPSubnets><Metric Value=""/><Version>7804</Version><Capabilities SchemaVersion="1.0"><Property
    Name="SSLState" Value="0"/></Capabilities><ServerRemoteName>MINN_DP.******.com</ServerRemoteName><DPType>SERVER</DPType><Windows Trust="0"/><Locality>FALLBACK</Locality></LocationRecord></LocationRecords></Site></Sites></ContentLocationReply>           
    TSMBootstrap   18/09/2014 8:19:11 AM          
    1032 (0x0408) MCS server:    
    TSMBootstrap   18/09/2014 8:19:11 AM          
    1032 (0x0408) Found location: http://CA1AP03P.******.com/SMS_DP_SMSPKG$/CA100014
    TSMBootstrap   18/09/2014 8:19:11 AM       
    1032 (0x0408) Local=0           
    TSMBootstrap   18/09/2014 8:19:11 AM          
    1032 (0x0408) MCS server:    
    TSMBootstrap   18/09/2014 8:19:11 AM          
    1032 (0x0408) Found location: http://CA2AP01P.******.com/SMS_DP_SMSPKG$/CA100014
    TSMBootstrap   18/09/2014 8:19:11 AM       
    1032 (0x0408) Local=0           
    TSMBootstrap   18/09/2014 8:19:11 AM          
    1032 (0x0408) MCS server:    
    TSMBootstrap   18/09/2014 8:19:11 AM          
    1032 (0x0408) Found location: http://MINN_DP.******.com/SMS_DP_SMSPKG$/CA100014 
    TSMBootstrap   18/09/2014 8:19:11 AM       
    1032 (0x0408) Local=0           
    TSMBootstrap   18/09/2014 8:19:11 AM          
    1032 (0x0408) Processing 3 locations.           
    TSMBootstrap   18/09/2014 8:19:11 AM          
    1032 (0x0408) Not processing remote location:        
    TSMBootstrap   18/09/2014 8:19:11 AM          
    1032 (0x0408)   Flags: 01000000       
    TSMBootstrap   18/09/2014 8:19:11 AM          
    1032 (0x0408)   URLs : 1        
    TSMBootstrap   18/09/2014 8:19:11 AM          
    1032 (0x0408)   SMB  :           
    TSMBootstrap   18/09/2014 8:19:11 AM          
    1032 (0x0408)   MCS  :           
    TSMBootstrap   18/09/2014 8:19:11 AM          
    1032 (0x0408) Not processing remote location:        
    TSMBootstrap   18/09/2014 8:19:11 AM          
    1032 (0x0408)   Flags: 01000000       
    TSMBootstrap   18/09/2014 8:19:11 AM          
    1032 (0x0408)   URLs : 1        
    TSMBootstrap   18/09/2014 8:19:11 AM          
    1032 (0x0408)   SMB  :           
    TSMBootstrap   18/09/2014 8:19:11 AM          
    1032 (0x0408)   MCS  :           
    TSMBootstrap   18/09/2014 8:19:11 AM          
    1032 (0x0408) Not processing remote location:        
    TSMBootstrap   18/09/2014 8:19:11 AM          
    1032 (0x0408)   Flags: 01000000       
    TSMBootstrap   18/09/2014 8:19:11 AM          
    1032 (0x0408)   URLs : 1        
    TSMBootstrap   18/09/2014 8:19:11 AM          
    1032 (0x0408)   SMB  :           
    TSMBootstrap   18/09/2014 8:19:11 AM          
    1032 (0x0408)   MCS  :           
    TSMBootstrap   18/09/2014 8:19:11 AM          
    1032 (0x0408)
    LocationsList.size() > 0, HRESULT=80040102 (e:\qfe\nts\sms\framework\tscore\resolvesource.cpp,2142)           
    TSMBootstrap   18/09/2014 8:19:11 AM           1032 (0x0408) FALSE, HRESULT=80040102 (e:\qfe\nts\sms\framework\tscore\tspolicy.cpp,1863)   TSMBootstrap   18/09/2014 8:19:11 AM     
    1032 (0x0408) Content location request for CA100014:14 failed. (Code 0x80040102)           TSMBootstrap   18/09/2014 8:19:11 AM        1032 (0x0408) hr, HRESULT=80040102
    (e:\qfe\nts\sms\framework\tscore\tspolicy.cpp,2626)         TSMBootstrap   18/09/2014 8:19:11 AM      1032 (0x0408) Failed to resolve PackageID=   TSMBootstrap  
    18/09/2014 8:19:11 AM           1032 (0x0408) (*iTSReference)->Resolve( pTSPolicyManager, dwResolveFlags ), HRESULT=80040102 (e:\qfe\nts\sms\framework\tscore\tspolicy.cpp,3412)           
    TSMBootstrap   18/09/2014 8:19:11 AM           1032 (0x0408) m_pSelectedTaskSequence->Resolve( m_pPolicyManager, TS::Policy::TaskSequence::ResolvePolicy | TS::Policy::TaskSequence::ResolveSource,
    fpCallbackProc, pv, hCancelEvent), HRESULT=80040102 (e:\nts_sccm_release\sms\client\tasksequence\tsmbootstrap\tsmediawizardcontrol.cpp,1523)            TSMBootstrap   18/09/2014 8:19:11 AM          
    1032 (0x0408) Failed to resolve selected task sequence dependencies. Code(0x80040102) TSMBootstrap   18/09/2014 8:19:11 AM        1032 (0x0408) hrReturn, HRESULT=80040102 (e:\nts_sccm_release\sms\client\tasksequence\tsmbootstrap\tsmediaresolveprogresspage.cpp,445)           
    TSMBootstrap   18/09/2014 8:19:11 AM           1032 (0x0408) ThreadToResolveAndExecuteTaskSequence failed. Code(0x80040102)          TSMBootstrap  
    18/09/2014 8:19:11 AM        1032 (0x0408) ThreadToResolveAndExecuteTaskSequence returned code 0x80040102        TSMBootstrap   18/09/2014 8:19:11 AM       
    888 (0x0378) Setting wizard error: This task sequence cannot be run because the program files for CA100014 cannot be located on a distribution point. For more information, contact your system administrator or helpdesk operator.           
    TSMBootstrap   18/09/2014 8:19:11 AM           888 (0x0378)

  • Content Validation Issue on Distribution Points

    Hi all,
    I am currently running SCCM 2012 R2 CU2 with Single Primary Site Server and Several remote Distribution Points serving Windows Updates, Software and Images.
    This has been bothering me for a while now and I can not figure it out…. Two of my distribution points are not completing their content validation. They begin the process as scheduled
    but about 2-5 packages in, they get hung up on an old package that does not exist anymore and then start the process over, validating the same 2 packages over and over. I have ran a few scripts to check WMI for this package and it is definitely not there.
    It is not present in the Content Library either.
    Simple query for to check WMI for the package on the DP:
    gwmi -Namespace rootsccmdp -Query “select * from SMS_PackagesInContLib where PackageID = ‘XXX001AE′”
    Here is a snip of the smsdpmon.log
    Report status message 0x8000094F to MP
    SMS_Distribution_Point_Monitoring
    11/9/2014 3:54:02 AM
    3604 (0x0E14)
    Status message has been successfully sent to MP from remote DP
    SMS_Distribution_Point_Monitoring
    11/9/2014 3:54:02 AM
    3604 (0x0E14)
    Start to evaluate package ‘XXX001AE’ version 0 …
    SMS_Distribution_Point_Monitoring
    11/9/2014 3:54:02 AM
    3604 (0x0E14)
    Report status message 0x4000094C to MP
    SMS_Distribution_Point_Monitoring
    11/9/2014 3:54:02 AM
    3604 (0x0E14)
    Status message has been successfully sent to MP from remote DP
    SMS_Distribution_Point_Monitoring
    11/9/2014 3:54:02 AM
    3604 (0x0E14)
    Failed to evaluate package XXX001AE, Error code 0×80070002
    SMS_Distribution_Point_Monitoring
    11/9/2014 3:54:02 AM
    3604 (0x0E14)
    Report state message 0x8000094F to MP
    SMS_Distribution_Point_Monitoring
    11/9/2014 3:54:02 AM
    3604 (0x0E14)
    Report Body: SPS001AE["Display=vdepman.sdale.org"]MSWNET:["SMS_SITE=SPS"]vdepman.sdale.org
    SMS_Distribution_Point_Monitoring
    11/9/2014 3:54:02 AM
    3604 (0x0E14)
    Report status message 0x8000094F to MP
    SMS_Distribution_Point_Monitoring
    11/9/2014 3:54:02 AM
    3604 (0x0E14)
    Status message has been successfully sent to MP from remote DP
    SMS_Distribution_Point_Monitoring
    11/9/2014 3:54:02 AM
    3604 (0x0E14)
    Report status message 0x8000095A to MP
    SMS_Distribution_Point_Monitoring
    11/9/2014 3:54:02 AM
    3604 (0x0E14)
    Status message has been successfully sent to MP from remote DP
    SMS_Distribution_Point_Monitoring
    11/9/2014 3:54:02 AM
    3604 (0x0E14)
    Anyone have any idea why it is still trying to validate this old package?
    Thanks

    Thanks for the replies,
    Here is some extra information on what I have tried.
    I have run the Bart Serneels script which did seem to clean some things up on the other servers. Did NOT fix the issue on these ones however.
    I have also ran these two scripts that compare the content on the DP itself.
    This one Compares Content Librrary with WMI and deletes the package INI if needed.
    cls
    $WMIPkgList = Get-WmiObject -Namespace Root\SCCMDP -Class SMS_PackagesInContLib | Select -ExpandProperty PackageID | Sort-Object
    $ContentLib = (Get-ItemProperty HKLM:SOFTWARE\Microsoft\SMS\DP).ContentLibraryPath
    $PkgLibPath = ($ContentLib) + '\PkgLib'
    $PkgLibList = (Get-ChildItem $PkgLibPath | Select -ExpandProperty Name | Sort-Object)
    $PkgLibList = ($PKgLibList | ForEach-Object {$_.replace('.INI',"")})
    $PksinWMIButNotContentLib = Compare-Object -ReferenceObject $PKgLibList -DifferenceObject $WMIPkgList -PassThru | Where-Object { $_.SideIndicator -eq "=>" }
    $PksinContentLibButNotWMI = Compare-Object -ReferenceObject $PKgLibList -DifferenceObject $WMIPkgList -PassThru | Where-Object { $_.SideIndicator -eq "<=" }
    ##Write-Host Items in WMI but not the Content Library
    ##Write-Host ========================================
    ##$PksinWMIButNotContentLib
    Write-Host Items in Content Library but not WMI
    Write-Host ====================================
    $PksinContentLibButNotWMI
    Write-Host Delete .INI´s in PkgLib not in WMI
    Foreach ($PkgLIB in $PksinContentLibButNotWMI){
    Remove-Item -Path "$PkgLibPath\$PkgLIB.INI" -Confirm
    This one Compares WMI to the Content Library and delete the package from WMI.
    cls
    $WMIPkgList = Get-WmiObject -Namespace Root\SCCMDP -Class SMS_PackagesInContLib | Select -ExpandProperty PackageID | Sort-Object
    $ContentLib = (Get-ItemProperty HKLM:SOFTWARE\Microsoft\SMS\DP).ContentLibraryPath
    $PkgLibPath = ($ContentLib) + '\PkgLib'
    $PkgLibList = (Get-ChildItem $PkgLibPath | Select -ExpandProperty Name | Sort-Object)
    $PkgLibList = ($PKgLibList | ForEach-Object {$_.replace('.INI',"")})
    $PksinWMIButNotContentLib = Compare-Object -ReferenceObject $PKgLibList -DifferenceObject $WMIPkgList -PassThru | Where-Object { $_.SideIndicator -eq "=>" }
    $PksinContentLibButNotWMI = Compare-Object -ReferenceObject $PKgLibList -DifferenceObject $WMIPkgList -PassThru | Where-Object { $_.SideIndicator -eq "<=" }
    #Items in WMI but not the Content Library
    #========================================
    $PksinWMIButNotContentLib
    #Items in WMI but not the Content Library
    #========================================
    $PksinWMIButNotContentLib
    Foreach ($Pkg in $PksinWMIButNotContentLib){
    Get-WmiObject -Namespace Root\SCCMDP -Class SMS_PackagesInContLib -Filter "PackageID = '$Pkg'" | Remove-WmiObject -Confirm
    Neither of them return any information about left over packages.
    If I must, I may uninstall the DP role on these servers and reinstall it, one of them in also my "Application Catalog Server". Will re-installing the DP on this server cause any major issues?
    Thanks

  • Does Oracle XML Parser support Content Validation

    Hi there,
    Could someone out there give me a hint on whether the Oracle XML Parser has the capability of handling Content Validation? If yes, what's the mechanism behind it?
    From my understanding of the Oracle XML Parser, even with the validating mode turned on, the parser only validates the XML data against the DTD (if any), which involves checking whether or not the attribute names and element tags are legal, whether nested elements belong to where they are, and so on. But I dont see any Content Validation. And my guess is that this feature, namely Content Validation, is simply not supported in the current version of the Oracle XML Parser. Am I right?
    Any suggestion would be greatly appreciated. Thanks.
    ---Denali
    null

    Hi there,
    Could someone out there give me a hint on whether the Oracle XML Parser has the capability of handling Content Validation? If yes, what's the mechanism behind it?
    From my understanding of the Oracle XML Parser, even with the validating mode turned on, the parser only validates the XML data against the DTD (if any), which involves checking whether or not the attribute names and element tags are legal, whether nested elements belong to where they are, and so on. But I dont see any Content Validation. And my guess is that this feature, namely Content Validation, is simply not supported in the current version of the Oracle XML Parser. Am I right?
    Any suggestion would be greatly appreciated. Thanks.
    ---Denali
    null

  • Content validation before uploading file

    Hi,
    We want to do some validations before uploading an excel file to OBIEE :
    1 - check the file extension
    2 - do some data validation on the content of the excel file.
    I succed in doing the first step by adding some javascript customization to OBIEE javascript files. However, i cant do the second step with javascript, because i need to read the excel file content and make connection to a database to perform the validation.
    Is there any way, to do the validation in server side so that i can read the excel file and make the database connection with a java code.
    Thanks.

    Hi,
    Actualy, users produces some informations about production. These informations are in excel files because there is no application for this business area. Also they want, throw OBIEE 11g portal, to upload their files them selves, have a validation workflow of the file in obiee, and then automatically copy excel files content in a oracle tables and create some reports on these tables.
    I dont know if these needs are possible in the obiee 11g platform, so i start doing a prototype. Now, i'am in the first step of uploading the excel file into a folder in the obiee catalog. However during the upload a file a need to do some technical validations (null values, numeric values, ...) and check if the value of a specific column exists in a table on an other database.
    Therefor, the xls file is not a variable it's uploaded every time a user wants it. The production environnement of obiee 11g is AIX, however for the prototype, i will user an environnement on windows.
    Thanks.

  • SCCM2012 Content Validation Failing - SMSPKGSIG

    Hi all,
    We have a main site server, and 15 distribution points. We recently had to move the distribution shares using ContentLibraryTransfer.exe on three DPs due to space requirements. Since then we've had issues getting content to the three DPs. I've been through
    a few steps troubleshooting so far, it appears that it's an issue with the signature files. Content will 'successfully' transfer, and then fail when it's validated. 
    distmgr.log contains the following;
    RDC:Failed to copy package content signature file \\?\K:\SMSPKGSIG\Content_e517d975-b5f0-4a53-8ba1-80c0be72ccb3.1.tar to \\SCCMPRI01.wakefield.gov.uk\SMSSIG$\Content_e517d975-b5f0-4a53-8ba1-80c0be72ccb3.1.tar. Error 2
    If you check the K:\SMSPKGSIG folder it doesn't contain that .tar file, indeed the only .tar files that have been generated since the contentlibrarytransfer.exe process are for our antivirus definitions. I've checked security on the SMSPKGSIG file and it matches
    that of our Dev site, which works fine. There are also no relevant .tar files in the \SMSSIG$ folder that have been created since the transfer.
    So far we've;
    Recreated the Distribution point site role on the primary server
    Updated the AV rules to cover the newly created Distribution Point file shares
    Attempted to update and redistribute affected packages
    Any advice from here would be gratefully received!

    Here's a similar thread. Maybe it could help you.
    http://social.technet.microsoft.com/Forums/systemcenter/en-US/afc4b35b-5d06-4188-a79c-e06ed682ecfe/failed-to-get-rdc-signature?forum=configmgrswdist
    Benoit Lecours | Blog: System Center Dudes

  • Should Validation occurs for unselected value?

    I have a JSF page as follows :
    <h:selectOneListBox ... value="#{Bean.selectedOption}" ...>
    <f:selectItem itemValue="Ans01" itemLabel="Ford" />
    <f:selectItem itemValue="Ans02" itemLabel="Honda" />
    </h:selectOneListBox>
    <h:commandButton ...value="submit" action="nextPage" />
    The Bean has the following method:
    private String selectedOption;
    public String getSelectedOption() {
    // selectedOption = null; works - list with no pre-selection on list
    // selectedOption = "Ans01"; works - list with "Ford" pre-selected on list
    selectedOption = ""; fails during UPDATE_MODEL phase with
    return selectedOption;
    When the page is displayed, no selection is made on the selectItems list and the submit button is triggered. A JSF Validation Error occurs .
    selectedOption initially has invalid value, and JSF does not preselect any list item. User does not select anything from the list, so there is no input , why does Validation triggered in this case ?
    Is there any attribute in the control that I could specify to skip validation if there is no user interaction with the control ?
    Thanks for any suggestion.
    Alex.

    What is the problem with the null value as you mentioned in comments that it works....
    It you intialize the list with a value that does not exist like "", in the validation phase, the system will check that this value belongs to the available value and as it is not the case, a validation error occurs. The empty string is not equal to the null value...

  • About validation occurs a message box

    ADF Faces validation and conversion run on the client side.
    As soon as one component's data fails validation, a dialog displays an error message for that component.
    I don't want this message box.
    How can i disable this dialog?

    Hello!!
    AdfPage.PAGE.clearAllMessages() is good solution for this problem.
    How can I let AdfPage.PAGE.clearAllMessages() automate to execute when validation failure occurs?
    Thank for your help!

  • How stop File Browse item losing value when a validation occurs

    G'Day Apex gurus,
    I am using Apex 3.1.0 and Firefox in an XP PC and have a file browse page item on my page but whenever i experience a validation error on the page, the value entered into this box is lost.
    Every other field on the page retains its entered value, but the file browser item loses its value.
    This is frustrating because the user will have to reselect the file.
    Is there a way to retain the value upon a validation error?
    I appreciate any assistance with this
    Carlos

    Hey creyes,
    I don't think this is possible.
    Because of security implications (scripts setting the value, and then attempting to retrieve files of your computer) the value of the fileupload form field is read only. Therefore you cannot set, or reset the value.
    A solution could be that you make validations with javascript if possible (but keep validations on the database side also!).
    Kind regards,
    Oli

  • TableView row cell content validation using Javascript

    Hi ,
       I need to validate the tableView cell which is opened for input as like text box using Iterator. I have a requirement to validate the cell when the row is selected.
       I tried with document.getElementById("solgrp_1_1").value, where solgrp is tableView id.
      Some how it is not working for me? and the second how can i recognise the row is selected or not in java script.
      Any input will help me. please sesuggest with your ideas.
    Regards,
    Praveen

    Hi Jan,
    If I undestood your question properly, you cannot know for sure that the row will be - in the end - selected because of the singleselect/multiselect issue.
    So, either you put the logic on the server side and give up the JS solution... or you have to inject some variables mirroring the selectionMode into Javascript so that you can test it in your JS validation function.
    Regarding the value of a cell, you can peform a document.getElementById( <id> ).value where <id> is of the form :
    <id_of_the_tableview>_<row_index>_<col_index>
    Check this in the source code of your page.
    Best regards,
    Guillaume
    Best regards,
    Guillaume

  • Custom LOV (Search Content) Validator

    Hi
    how can i validate that data insert by user exist in table? and how can i launch popup when user write an non existing data?
    ty

    Hi,
    In Addition, you can also set a ValueChangeListener for your list component. This will get fired when user selects any value from the dropdown.
    You can write your custom code for any kind of validation in the code. the method can be written in managed bean.
    regards,
    Rajan

  • Content validation

    I have CV set to run once a week, recently it found a package that need to be redistributed. After successfully redistributing the package the red error under monitoring went away but the yellow warning still exists.
    I've done several successful validations since then but the yellow warning still appears which doesn't really contain any information and the smsdpmon log for that date is long gone.
    Any idea how to clear that?

    Hi,
    It seems that the message only can be removed from database. But editing database directly is not supported by microsoft.
    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.

  • Content Validation before Mapping

    Hi all,
    I have the following requirement. I ll read a file as input. I need to check if filename equals one particular field in the source. if equals then i ve to go ahead doing mapping and the rest. Else i dont want to process anymore. please help me in a step by step procedure for doing the same.
    Thank you
    Sumayya T S

    I think you can do this by using the Context objects.
    First get the Filename into your dummy element in target strcutre using UDF and create the context object between your dummy element and another element which holds the filename with equal conditon and use this context object in the receiver determination.
    But I am not sure about it because i never tried this.
    <b>UDF as follows:</b>
    DynamicConfiguration conf = (DynamicConfiguration) container
    .getTransformationParameters()
    .get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create(
    "http://sap.com/xi/XI/System/File",
    "FileName");
    DynamicConfigurationKey key1 = DynamicConfigurationKey.create(
    "http://sap.com/xi/XI/System/File",
    "Directory");
    String source = conf.get(key);
    String tar_dirname = "/mqm/mqmprod/temp/out/ " + source.substring(14,18); */
    String tar_fname =source.substring(19,20);
    String tar_dirname = source.substring(14,18);
    conf.put(key, tar_fname);
    conf.put(key1, tar_dirname);
    return tar_fname;
    Warm Regards,
    Vijay

  • Content validation of a String

    If I have to check if all characters in a string are digit or all characters are alphabetic is there is an API which does these checks on a String. I know Character class has all functions but I will still have to iterate over all characters in the string.
    Thanks in advance

    I guess you can do some kind of arithmetic and if it throws a numberformat exception then you know that not all the characters in the string are digits so thats maybe how you would check for all numbers.
    To check for all characters, String also has a method to turn the string into an array of chars. You can iterate through the array with a loop then to test if its all chars. "EachString".toCharArray()

Maybe you are looking for

  • Error while adding ODBC Destination D.F. Component in C# - HRESULT: 0xC0048021

    Hello,  I'm trying to create an SSIS ODBC Destination Data Flow Component programmatically (C# and SQL Server 2008 R2). The code I use is  IDTSComponentMetaData100 ODBCDestination = dataFlow.ComponentMetaDataCollection.New(); ODBCDestination.Name = S

  • SEVERAL QUESTIONS FROM A NEW E71 USER

    Hi all, I am a new user of the E71 and have a few queries: 1) why when I try to browse internet via contract internet or my own wifi the browser jsut sticks on ablank screen unless i enter a specific address - how do i get it to automatically go to a

  • Annoying little chapter glitch

    Okay, I have two seperate movies on one menu with no chapter markers. If I'm in movie #1, and press the chapter advance button on the remote, it automatically goes to movie #2. In movie #2, the chapter reverse button doesn't do anything, but if I pre

  • Inspire 5.1 5300 - only 2 speakers work

    Hi, I've been using these Inspire 5.1 5300 speakers for quite some time and it worked without problems all this while. But today out of a sudden I realised there is only sound coming out from two of the five speakers. I thought the speakers were spoi

  • FR: how passing POV parameters through Related Content

    Hi, i'm using Financial Reporting as a reporting tool for my budget application over a Planning 9.3.1 system. My question is about the possibility to use the related content in order to pass report POV parameters. As we know it's possibile in FR open