cdichter

Adding tasks through XOG

Discussion created by cdichter on Oct 28, 2010
Latest reply on Oct 28, 2010 by Patrick Cooper
Are these the correct steps to add tasks to a project?
- Read in the project.
- Remove the XOGOutput section
- Add the tasks
- Write the project


I always get this error: [Error] :0:0: Probably namespace URI of tag "NikuDataBus" is wrong (correct one is "")

<?xml version="1.0" encoding="utf-8" ?>
- <XOGOutput xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/status.xsd" xmlns="http://www.niku.com/xog/Object">
<Object type="project" />
<Status state="FAILURE" />
<Statistics failureRecords="0" insertedRecords="0" totalNumberOfRecords="0" updatedRecords="0" />
- <ErrorInformation>
<Severity>FATAL</Severity>
<Description>[Error] :0:0: Probably namespace URI of tag "NikuDataBus" is wrong (correct one is "")</Description>
<Exception>Invalid xml data</Exception>
</ErrorInformation>
</XOGOutput>

Is there something wrong with my request?
Note: the new tasks are the last 4.

<?xml version="1.0" encoding="utf-8" ?>
<NikuDataBus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/nikuxog_project.xsd" xmlns="http://www.niku.com/xog/Object">
<Header externalSource="NIKU" version="12.0.6.5471" />
<Projects>
<Project active="true" approved="true" approvedForBilling="1" billExpenses="1" billingCurrencyCode="USD" billingType="S" calculatePresentValueInfo="true" closed="false" currencyISOcode="USD" description="Enhance the existing *** proprietary application XXXXsvwith IP capability." equipmentExchageRateType="AVERAGE" expenseExchageRateType="AVERAGE" financialStatus="H" finish="2010-09-17T17:00:00" flexibilityRisk="50" forecastEqualsBudget="true" format="11" goalCode="GROW_BUSINESS" humanInterfaceRisk="50" implementationRisk="50" interdependenciesRisk="50" laborExchageRateType="AVERAGE" lastUpdatedBy="bvogt" lastUpdatedDate="2010-10-07T18:49:10" managerResourceID="bvogt" materialExchageRateType="AVERAGE" name="XXXSV11" objectivesRisk="50" openForTimeEntry="true" pageLayoutCode="projmgr.projectPageFrame" percentCalcMode="0" percentComplete="0" plannedBenFinish="2010-09-30T00:00:00" plannedBenStart="2010-05-12T00:00:00" plannedBenTotal="1" plannedCostFinish="2010-07-31T00:00:00" plannedCostStart="2010-07-15T00:00:00" plannedCostTotal="6500" plannedNPV="-6498.999" plannedROI="-0.999846" priority="10" processCode="PRJ_APLC" program="false" progress="1" projectID="PRJ1795" requiredForScenarios="false" resourceAvailabilityRisk="50" stageCode="PRJ_APLC_FEAS" start="2010-07-15T08:00:00" status="1" statusIndicator="1" supportabilityRisk="50" syncInvestmentAndBudgetDates="false" technicalRisk="50" template="false" trackMode="2">
<Tasks>
<Task finish="2010-07-16T17:00:00" internalTaskID="5108217" key="true" lastUpdatedBy="bvogt" lastUpdatedDate="2010-07-21T09:29:08" lockedForScheduling="false" milestone="true" name="START" openForTimeEntry="true" orderID="1" outlineLevel="1" percComp="0" start="2010-07-16T17:00:00" status="0" summary="false" taskID="M0">
<estimateRules />
</Task>
<Task finish="2010-08-06T17:00:00" internalTaskID="5108218" key="true" lastUpdatedBy="bogt" lastUpdatedDate="2010-08-04T20:15:39" lockedForScheduling="false" milestone="true" name="DEF Complete" nextSiblingOf="M0" openForTimeEntry="true" orderID="2" outlineLevel="1" percComp="0" start="2010-08-06T17:00:00" status="0" summary="false" taskID="M0.5">
<estimateRules />
</Task>
<Task finish="2010-08-25T17:00:00" internalTaskID="5108219" key="true" lastUpdatedBy="bogt" lastUpdatedDate="2010-08-25T09:29:35" lockedForScheduling="false" milestone="true" name="DEV Complete" nextSiblingOf="M0.5" openForTimeEntry="true" orderID="3" outlineLevel="1" percComp="0" start="2010-08-25T17:00:00" status="0" summary="false" taskID="M1">
<estimateRules />
</Task>
<Task finish="2010-08-27T17:00:00" internalTaskID="5108220" key="true" lastUpdatedBy="bogt" lastUpdatedDate="2010-08-25T09:29:49" lockedForScheduling="false" milestone="true" name="VAL Complete" nextSiblingOf="M1" openForTimeEntry="true" orderID="4" outlineLevel="1" percComp="0" start="2010-08-27T17:00:00" status="0" summary="false" taskID="M2">
<estimateRules />
</Task>
<Task finish="2010-09-17T17:00:00" internalTaskID="5108221" key="true" lastUpdatedBy="bogt" lastUpdatedDate="2010-08-25T09:29:56" lockedForScheduling="false" milestone="true" name="CERT Complete" nextSiblingOf="M2" openForTimeEntry="true" orderID="5" outlineLevel="1" percComp="0" start="2010-09-17T17:00:00" status="0" summary="false" taskID="M3">
<estimateRules />
</Task>
<Task finish="2011-04-28T14:00:20" key="true" lockedForScheduling="false" openForTimeEntry="true" milestone="false" outlineLevel="1" name="Fe" start="2010-10-28T14:00:20" summary="false" xmlns="">
<Task />
</Task>
<Task finish="2011-04-28T14:00:20" key="true" lockedForScheduling="false" openForTimeEntry="true" milestone="false" outlineLevel="1" name="Fi" start="2010-10-28T14:00:20" summary="false" xmlns="">
<Task />
</Task>
<Task finish="2011-04-28T14:00:20" key="true" lockedForScheduling="false" openForTimeEntry="true" milestone="false" outlineLevel="1" name="Fo" start="2010-10-28T14:00:20" summary="false" xmlns="">
<Task />
</Task>
<Task finish="2011-04-28T14:00:20" key="true" lockedForScheduling="false" openForTimeEntry="true" milestone="false" outlineLevel="1" name="Fum" start="2010-10-28T14:00:20" summary="false" xmlns="">
<Task />
</Task>
</Tasks>
<Allocations />
<scenarioDependencies />
<InvestmentAssociations>
<Allocations />
<Hierarchies />
</InvestmentAssociations>
<General addedBy="bvogt" addedDate="2010-07-21" />
<OBSAssocs completed="false">
<OBSAssoc id="INV_OBS" name="Investment" unitPath="/Applications/Regional Apps/HNA" />
</OBSAssocs>
<BurdeningAssocs>
<BurdeningAssoc transactionType="Labor" />
<BurdeningAssoc transactionType="Material" />
<BurdeningAssoc transactionType="Expenses" />
<BurdeningAssoc transactionType="Equipment" />
</BurdeningAssocs>
</Project>
</Projects>
</NikuDataBus>

Outcomes