I've been using the TFS Integration service to move our main set of projects from Scrum from Team System (I know, I know) on TFS 2010 to Microsoft Agile 5.0 on the same server. All work items have transferred fine and I've spent the last week migrating VC items. The service claims everything is migrated but I'm missing a good dozen branches and no matter how many times I restart I can't get it to migrate the rest.
What are my options? Do I have to destroy the new project and start from scratch or will a new integration do it?
<?xml version="1.0" encoding="utf-16"?>
<Configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" UniqueId="4a01478e-1ba7-4c62-8925-714739e1fab6" FriendlyName="TFS to TFS Version Control and Work Item Tracking with Links">
<Providers>
<Provider ReferenceName="febc091f-82a2-449e-aed8-133e5896c47a" FriendlyName="TFS 2010 Migration VC Provider" />
<Provider ReferenceName="04201d39-6e47-416f-98b2-07f0013f8455" FriendlyName="TFS 2010 Migration WIT Provider" />
</Providers>
<Addins />
<SessionGroup CreationTime="2013-09-24T11:28:46.567+01:00" FriendlyName="TFS to TFS Version Control and Work Item Tracking with Links" SessionGroupGUID="a3d4e2fe-3b6c-4d20-a9c3-e5adf35567bb" Creator="MDLIMITED\damien.ryan" SyncIntervalInSeconds="0" SyncDurationInMinutes="0">
<MigrationSources>
<MigrationSource InternalUniqueId="ea1112aa-8b29-4249-b5ad-a56d9e3d4cde" FriendlyName="<SERVER> (VC)" ServerIdentifier="b0584010-6dfd-4ecd-95b5-f7bacdfcf0d7" ServerUrl="http://<SERVER>:8080/tfs/defaultcollection" SourceIdentifier="RCM" ProviderReferenceName="febc091f-82a2-449e-aed8-133e5896c47a">
<Settings>
<Addins />
<UserIdentityLookup />
<DefaultUserIdProperty UserIdPropertyName="DisplayName" />
</Settings>
<CustomSettings />
<StoredCredential />
</MigrationSource>
<MigrationSource InternalUniqueId="9f1fc9e6-6a37-4c2e-9ca8-336897850317" FriendlyName="<SERVER> (VC)" ServerIdentifier="b0584010-6dfd-4ecd-95b5-f7bacdfcf0d7" ServerUrl="http://<SERVER>:8080/tfs/defaultcollection" SourceIdentifier="RCM_Platform" ProviderReferenceName="febc091f-82a2-449e-aed8-133e5896c47a">
<Settings>
<Addins />
<UserIdentityLookup />
<DefaultUserIdProperty UserIdPropertyName="DisplayName" />
</Settings>
<CustomSettings />
<StoredCredential />
</MigrationSource>
<MigrationSource InternalUniqueId="38c2d113-700b-4bc6-ab36-a3c304ac8bc3" FriendlyName="<SERVER> (WIT)" ServerIdentifier="b0584010-6dfd-4ecd-95b5-f7bacdfcf0d7" ServerUrl="http://<SERVER>:8080/tfs/defaultcollection" SourceIdentifier="RCM" ProviderReferenceName="04201d39-6e47-416f-98b2-07f0013f8455">
<Settings>
<Addins />
<UserIdentityLookup />
<DefaultUserIdProperty UserIdPropertyName="DisplayName" />
</Settings>
<CustomSettings />
<StoredCredential />
</MigrationSource>
<MigrationSource InternalUniqueId="089ca660-2cd3-4a25-a0ae-ad0d9004723c" FriendlyName="<SERVER> (WIT)" ServerIdentifier="b0584010-6dfd-4ecd-95b5-f7bacdfcf0d7" ServerUrl="http://<SERVER>:8080/tfs/defaultcollection" SourceIdentifier="RCM_Platform" ProviderReferenceName="04201d39-6e47-416f-98b2-07f0013f8455">
<Settings>
<Addins />
<UserIdentityLookup />
<DefaultUserIdProperty UserIdPropertyName="DisplayName" />
</Settings>
<CustomSettings />
<StoredCredential />
</MigrationSource>
</MigrationSources>
<Sessions>
<Session CreationTime="2013-09-24T11:28:46.557+01:00" SessionUniqueId="2325d8e9-ed67-473d-acd8-86301e867ec6" FriendlyName="Version Control Session" LeftMigrationSourceUniqueId="ea1112aa-8b29-4249-b5ad-a56d9e3d4cde" RightMigrationSourceUniqueId="9f1fc9e6-6a37-4c2e-9ca8-336897850317" SessionType="VersionControl">
<EventSinks />
<CustomSettings>
<SettingXml />
<SettingXmlSchema />
</CustomSettings>
<Filters>
<FilterPair Neglect="false">
$/<FilterItem MigrationSourceUniqueId="ea1112aa-8b29-4249-b5ad-a56d9e3d4cde" FilterString="<FROMPROJ> />
<FilterItem MigrationSourceUniqueId="9f1fc9e6-6a37-4c2e-9ca8-336897850317" FilterString="<TOPROJ>" />
</FilterPair>
<FilterPair Neglect="true">
<FilterItem MigrationSourceUniqueId="ea1112aa-8b29-4249-b5ad-a56d9e3d4cde" FilterString="$/RCM/BuildProcessTemplates" />
<FilterItem MigrationSourceUniqueId="9f1fc9e6-6a37-4c2e-9ca8-336897850317" FilterString="<TOPROJ>/BuildProcessTemplates" />
</FilterPair>
</Filters>
</Session>
<Session CreationTime="2013-09-24T11:28:46.567+01:00" SessionUniqueId="2f6ea511-a24a-4e09-9166-dc9c45a4b7be" FriendlyName="Work Item Tracking Session" LeftMigrationSourceUniqueId="38c2d113-700b-4bc6-ab36-a3c304ac8bc3" RightMigrationSourceUniqueId="089ca660-2cd3-4a25-a0ae-ad0d9004723c" SessionType="WorkItemTracking">
<EventSinks />
<CustomSettings>
<SettingXml>
<WITSessionCustomSetting>
<Settings />
<WorkItemTypes>
<WorkItemType LeftWorkItemTypeName="Bug" RightWorkItemTypeName="Bug" fieldMap="BugToBug" />
<WorkItemType LeftWorkItemTypeName="Sprint Backlog Item" RightWorkItemTypeName="Task" fieldMap="SBIToTask" />
<WorkItemType LeftWorkItemTypeName="Product Backlog Item" RightWorkItemTypeName="User Story" fieldMap="PBIToUserStory" />
</WorkItemTypes>
<FieldMaps>
<FieldMap name="BugToBug">
<MappedFields>
<MappedField LeftName="*" RightName="*" MapFromSide="Left" valueMap="" />
<MappedField LeftName="Conchango.TeamSystem.Scrum.EstimatedEffort" RightName="" MapFromSide="Left" />
<MappedField LeftName="Conchango.TeamSystem.Scrum.WorkRemaining" RightName="" MapFromSide="Left" />
<MappedField LeftName="Conchango.TeamSystem.Scrum.Build.Environment" RightName="" MapFromSide="Left" />
<MappedField LeftName="Conchango.TeamSystem.Scrum.TestingImpact" RightName="" MapFromSide="Left" />
<MappedField LeftName="Conchango.TeamSystem.Scrum.DateDiscovered" RightName="" MapFromSide="Left" />
<MappedField LeftName="Conchango.TeamSystem.Scrum.DateClosed" RightName="" MapFromSide="Left" />
<MappedField LeftName="Conchango.TeamSystem.Scrum.Team" RightName="" MapFromSide="Left" />
<MappedField LeftName="Conchango.TeamSystem.Scrum.BusinessPriority" RightName="" MapFromSide="Left" />
<MappedField LeftName="Conchango.TeamSystem.Scrum.DeliveryOrder" RightName="" MapFromSide="Left" />
<MappedField LeftName="Conchango.TeamSystem.Scrum.HistoryDate" RightName="" MapFromSide="Left" />
<MappedField LeftName="Conchango.TeamSystem.Scrum.ReplicationActionDetail" RightName="" MapFromSide="Left" />
</MappedFields>
<AggregatedFields />
<UserIdentityFields>
<LeftUserIdentityFields />
<RightUserIdentityFields />
</UserIdentityFields>
</FieldMap>
<FieldMap name="SBIToTask">
<MappedFields>
<MappedField LeftName="*" RightName="*" MapFromSide="Left" valueMap="" />
<MappedField LeftName="Conchango.TeamSystem.Scrum.EstimatedEffort" RightName="Microsoft.VSTS.Scheduling.OriginalEstimate" MapFromSide="Left" />
<MappedField LeftName="Conchango.TeamSystem.Scrum.WorkRemaining" RightName="Microsoft.VSTS.Scheduling.RemainingWork" MapFromSide="Left" />
<MappedField LeftName="Conchango.TeamSystem.Scrum.Team" RightName="" MapFromSide="Left" />
<MappedField LeftName="Conchango.TeamSystem.Scrum.HistoryDate" RightName="" MapFromSide="Left" />
<MappedField LeftName="Conchango.TeamSystem.Scrum.TaskPriority" RightName="Microsoft.VSTS.Common.StackRank" MapFromSide="Left" />
</MappedFields>
<AggregatedFields />
<UserIdentityFields>
<LeftUserIdentityFields />
<RightUserIdentityFields />
</UserIdentityFields>
</FieldMap>
<FieldMap name="PBIToUserStory">
<MappedFields>
<MappedField LeftName="*" RightName="*" MapFromSide="Left" valueMap="" />
<MappedField LeftName="Conchango.TeamSystem.Scrum.EstimatedEffort" RightName="Microsoft.VSTS.Scheduling.StoryPoints" MapFromSide="Left" />
<MappedField LeftName="Conchango.TeamSystem.Scrum.WorkRemaining" RightName="" MapFromSide="Left" />
<MappedField LeftName="Conchango.TeamSystem.Scrum.Team" RightName="" MapFromSide="Left" />
<MappedField LeftName="Conchango.TeamSystem.Scrum.BusinessPriority" RightName="Microsoft.VSTS.Common.StackRank" MapFromSide="Left" />
<MappedField LeftName="Conchango.TeamSystem.Scrum.DeliveryOrder" RightName="" MapFromSide="Left" />
<MappedField LeftName="Conchango.TeamSystem.Scrum.HistoryDate" RightName="" MapFromSide="Left" />
<MappedField LeftName="Conchango.TeamSystem.Scrum.ConditionsOfAcceptance" RightName="" MapFromSide="Left" />
</MappedFields>
<AggregatedFields />
<UserIdentityFields>
<LeftUserIdentityFields />
<RightUserIdentityFields />
</UserIdentityFields>
</FieldMap>
</FieldMaps>
<ValueMaps />
</WITSessionCustomSetting>
</SettingXml>
<SettingXmlSchema />
</CustomSettings>
<Filters>
<FilterPair Neglect="false">
<FilterItem MigrationSourceUniqueId="38c2d113-700b-4bc6-ab36-a3c304ac8bc3" FilterString="[System.AreaPath] UNDER '<AREAPATH>/>'" />
<FilterItem MigrationSourceUniqueId="089ca660-2cd3-4a25-a0ae-ad0d9004723c" FilterString="[System.Id] = 0" />
</FilterPair>
</Filters>
</Session>
</Sessions>
<Linking>
<CustomSettings />
<LinkTypeMappings />
</Linking>
<WorkFlowType Frequency="ContinuousManual" DirectionOfFlow="Unidirectional" SyncContext="Disabled" />
<CustomSettings />
<UserIdentityMappings EnableValidation="false">
<UserIdentityLookupAddins />
</UserIdentityMappings>
<ErrorManagement>
<ErrorRouters />
<ReportingSettings />
</ErrorManagement>
</SessionGroup>
</Configuration>
Edit: Added a selection from the log to show that changesets are being analyzed, migration instructions created, but not committed.
I added the MergeScope parameters as you suggested and there was no change in how the application worked.
If you look at the logs, it tries to pend operations against later changesets, but these operations are never commited to TFS:
[16/10/2013 17:34:22] TfsIntegrationService.exe Information: 0 : VersionControl: Starting analysis of TFS change 78046
[16/10/2013 17:34:22] TfsIntegrationService.exe Information: 0 : VersionControl: Created 1 actions for TFS change 78046
[16/10/2013 17:34:22] TfsIntegrationService.exe Information: 0 : VersionControl: Analyzing TFS change 78124 : 24/24
[16/10/2013 17:34:22] TfsIntegrationService.exe Information: 0 : VersionControl: Starting analysis of TFS change 78124
[16/10/2013 17:34:22] TfsIntegrationService.exe Information: 0 : VersionControl: Created 1 actions for TFS change 78124
[16/10/2013 17:34:22] TfsIntegrationService.exe Information: 0 : VersionControl: Generating migration instructions for the migration source 9f1fc9e6-6a37-4c2e-9ca8-336897850317
...
[16/10/2013 17:47:22] TfsIntegrationService.exe Information: 0 : VersionControl: Generating migration instruction for ChangeGroup 1922014
[16/10/2013 17:47:22] TfsIntegrationService.exe Information: 0 : VersionControl: Starting basic conflict detection
[16/10/2013 17:47:56] TfsIntegrationService.exe Information: 0 : VersionControl: Finishing basic conflict detection
[16/10/2013 17:47:56] TfsIntegrationService.exe Information: 0 : VersionControl: Loading 50 ChangeGroup(s)
[16/10/2013 17:47:56] TfsIntegrationService.exe Information: 0 : VersionControl: Post-processing delta table entries from the migration source 9f1fc9e6-6a37-4c2e-9ca8-336897850317
[16/10/2013 17:47:56] TfsIntegrationService.exe Information: 0 : VersionControl: Marking as 'DeltaComplete' the target-side delta table for uni-directional session
[16/10/2013 17:47:57] TfsIntegrationService.exe Information: 0 : VersionControl: Migrating to the migration source 9f1fc9e6-6a37-4c2e-9ca8-336897850317
#Gutwulf, are you seeing any exceptions, warnings or messages in your log files that ralate to the branches you are missing? Can you share the configuration and logfiles? If urgent, consider raising a support call as outlined in http://blogs.msdn.com/b/willy-peter_schaub/archive/2011/06/06/toc-tfs-integration-tools-blog-posts-and-reference-sites.aspx.
Related
Making a custom cordova plugin, I need to add the sdk files to the root level of the xcode project, but it always ends up in the plugins folder of the xcode project
how do I add the folders (XIBs and MiSnap_Res) to the root of the project so they are a gold colored folder, not blue, or at least on the project level, outside the plugins folder
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
id="com.keybank.MiSnapPlugin"
version="0.0.1">
<name>MiSnapPlugin</name>
<description>MiSnapPlugin Custom Plugin Made by Derek Hannah</description>
<author>Derek Hannah</author>
<license>Apache 2.0 License</license>
<engines>
<engine name="cordova" version=">=3.5.0" />
</engines>
<js-module src="www/MiSnapPlugin.js" name="MiSnapPlugin">
<clobbers target="MiSnapPlugin" />
</js-module>
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="MiSnapPlugin">
<param name="ios-package" value="MiSnapPlugin" />
</feature>
</config-file>
<framework src="libstdc++.6.tbd" />
<framework src="AudioToolbox.framework" />
<framework src="AVFoundation.framework" />
<framework src="CoreGraphics.framework" />
<framework src="CoreMedia.framework" />
<framework src="CoreVideo.framework" />
<framework src="MobileCoreServices.framework" />
<framework src="QuartzCore.framework" />
<framework src="OpenGLES.framework" />
<framework src="Security.framework" />
<framework src="ImageIO.framework" />
<framework src="Foundation.framework" />
<framework src="Foundation.framework" />
<framework src="UIKit.framework" />
<source-file src="src/ios/libMiSnap.a" framework="true" />
<resource-file src="src/ios/MiSnap_Res"/>
<source-file src="src/ios/XIBs" target-dir="../.."/>
<header-file src="src/ios/include/MiSnap.h" />
<header-file src="src/ios/MiSnapPlugin.h" />
<source-file src="src/ios/MiSnapPlugin.m" />
</platform>
<!--<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="HelloWorldPlugin">
<param name="android-package" value="mobi.monaca.HelloWorldPlugin"/>
</feature>
</config-file>
<source-file src="src/android/mobi/monaca/HelloWorldPlugin.java" target-dir="src/mobi/monaca" />
</platform>-->
</plugin>
I have a strange behaviour in one of our CRM-Organizations.
When I export a solution (which only contains the account-entity) as an unmanaged solution it works.
But when I reimport this very same solution without changing anything I get this error
"an item with the same key has already been added".
I found out that I have to remove the Attribute "ownerid" from the solution (and one relationship) and then it works...
this is the attribute
<attribute PhysicalName="OwnerId">
<Type>owner</Type>
<Name>ownerid</Name>
<LogicalName>ownerid</LogicalName>
<RequiredLevel>systemrequired</RequiredLevel>
<DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid|RequiredForForm</DisplayMask>
<ImeMode>auto</ImeMode>
<ValidForReadApi>1</ValidForReadApi>
<ValidForCreateApi>1</ValidForCreateApi>
<IsCustomField>0</IsCustomField>
<IsAuditEnabled>1</IsAuditEnabled>
<IsSecured>0</IsSecured>
<IntroducedVersion>5.0.0.0</IntroducedVersion>
<SourceType>0</SourceType>
<LookupStyle>single</LookupStyle>
<LookupTypes>
<LookupType id="00000000-0000-0000-0000-000000000000">8</LookupType>
<LookupType id="00000000-0000-0000-0000-000000000000">9</LookupType>
</LookupTypes>
<displaynames>
<displayname description="Vertriebsverantwortlicher" languagecode="1031" />
<displayname description="Owner" languagecode="1033" />
<displayname description="Właściciel" languagecode="1045" />
</displaynames>
<Descriptions>
<Description description="Geben Sie den Benutzer oder das Team ein, der bzw. das mit der Verwaltung des Datensatzes betraut ist. Dieses Feld wird aktualisiert, wenn der Datensatz einem anderen Benutzer zugewiesen wird." languagecode="1031" />
<Description description="Enter the user or team who is assigned to manage the record. This field is updated every time the record is assigned to a different user." languagecode="1033" />
<Description description="Wprowadź nazwę użytkownika lub zespołu, który zarządza rekordem. To pole jest aktualizowane za każdym razem, gdy rekord zostanie przypisany do innego użytkownika." languagecode="1045" />
</Descriptions>
</attribute>
I also checked the serverlogs and found this:
<importexportxml start="635818108905329459" stop="635818109069971342" progress="22.2222222222222" processed="true">
<solutionManifests>
<solutionManifest languagecode="1031" id="Firma_Transfer" LocalizedName="Firma_Transfer" processed="true">
<UniqueName>Firma_Transfer</UniqueName>
<LocalizedNames>
<LocalizedName description="Firma_Transfer" languagecode="1031" />
</LocalizedNames>
<Descriptions />
<Version>1.0.0</Version>
<Managed>0</Managed>
<Publisher>
<UniqueName>myorg</UniqueName>
<LocalizedNames>
<LocalizedName description="Myorg" languagecode="1031" />
</LocalizedNames>
<Descriptions />
<EMailAddress />
<SupportingWebsiteUrl />
<Addresses>
<Address>
<City />
<Country />
<Line1 />
<Line2 />
<PostalCode />
<StateOrProvince />
<Telephone1 />
</Address>
</Addresses>
</Publisher>
<results />
<result result="success" errorcode="0" errortext="" datetime="13:08:12.07" datetimeticks="635818072920798192" />
</solutionManifest>
</solutionManifests>
<upgradeSolutionPackageInformation>
<upgradeRequired>0</upgradeRequired>
<upgradeValid>1</upgradeValid>
<fileVersion>7.0.1.129</fileVersion>
<currentVersion>7.0.1.129</currentVersion>
<fileSku>OnPremise</fileSku>
<currentSku>OnPremise</currentSku>
</upgradeSolutionPackageInformation>
<entities>
<entity LocalizedName="Firma" OriginalName="Firma" Description="" id="Account" processed="true">
<result result="failure" errorcode="0x80044150" errortext="Ein Element mit dem gleichen Schlüssel wurde bereits hinzugefügt." datetime="13:08:26.96" datetimeticks="635818073069658863" />
</entity>
</entities>
<nodes />
<settings />
<dashboards />
<securityroles />
<workflows />
<templates />
<optionSets />
<ConnectionRoles />
<SolutionPluginAssemblies />
<SdkMessageProcessingSteps />
<ServiceEndpoints />
<webResources />
<reports />
<FieldSecurityProfiles />
<convertrules />
<routingrules />
<Slas />
<languages>
<language>
<result result="success" errorcode="0" errortext="" datetime="13:08:11.07" datetimeticks="635818072910798185" />
</language>
</languages>
<entitySubhandlers>
<savedQuery LocalizedName="Firma" OriginalName="Firma" Description="" id="Account" processed="false"/>
<formXml LocalizedName="Firma" OriginalName="Firma" Description="" id="Account" processed="false">
</formXml>
<entityCustomResources LocalizedName="Firma" OriginalName="Firma" Description="" id="Account" processed="false"/>
<entityRibbon LocalizedName="Firma" OriginalName="Firma" Description="" id="Account" processed="false"/>
<savedQueryVisualization LocalizedName="Firma" OriginalName="Firma" Description="" id="Account" processed="false">
</savedQueryVisualization>
</entitySubhandlers>
<rootComponents>
<rootComponent processed="false" />
</rootComponents>
<dependencies>
<dependency processed="false" />
</dependencies>
All I found in the internet pointed to an problem with an attribute (missmatching type, ...) but in my case this is the same organization and no transfer from dev to prod or something like that...
We are using CRM 2015 but we had this problem in 2011 already.
Has anybody a solution for this? we don't want to edit the customization.XML everytime before importing a solution...
this is the database-field
[OwnerId] [uniqueidentifier] NOT NULL CONSTRAINT [DF_AccountBase_OwnerId] DEFAULT ('00000000-0000-0000-0000-000000000000')
thanks
Tobias
Your database field for OwnerId looks fine. Delete any custom fields with common names from your destination organization and try the import again. For instance, if you have new_LastEmailDate on both, or any custom field that performs the same function as a custom field in the solution, delete it from the destination. One of your custom fields is being recognized as a new addition of an existing field, probably due to capitalization. If you're writing it in from the new solution, you don't need it in the destination anyway and a non-conflicting copy will be replaced.
This happens for me when I try to reinstall a CRM 2016 Outlook that has been offline with a previous version of CRM. Uninstalling CRM and SQL server related items, cleaning up the registry deleting all folder and files related to the installation. I think it's worth mentioning that the installations works against the same CRM environment on other PC's.
The error you are seeing is very generic, but the fact that you know which attribute is causing the issue makes things a lot easier. It is usually possible to fix this type of issue by making direct database changes to repair corrupted metadata (unsupported!), but it requires a SQL developer with decent knowledge of how the CRM metadata tables work. If you have such a person I could provide additional guidance, otherwise you should create a case with Microsoft.
I'm interested in defining multiple event-types my app.config file but it doesn't appear to get loaded by default. Is there something that I'm doing wrong? The event type doesn't exist within com.espertech.esper.client.Configuration.
<configSections>
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,Log4net" />
<section name="esper-configuration" type="com.espertech.esper.util.EsperSectionHandler,NEsper" />
</configSections>
<esper-configuration>
<engine-settings>
<defaults>
<threading>
<listener-dispatch preserve-order="false" timeout-msec="2000" locking="suspend" />
<insert-into-dispatch preserve-order="false" timeout-msec="3000" locking="suspend" />
<internal-timer enabled="false" msec-resolution="1234567" />
<thread-local style="fast" />
</threading>
<event-meta>
<class-property-resolution style="distinct_case_insensitive" />
</event-meta>
<view-resources>
<share-views enabled="false" />
</view-resources>
<logging>
<execution-path enabled="true" />
</logging>
<variables>
<msec-version-release value="30000" />
</variables>
</defaults>
</engine-settings>
<event-type name="Products" class="ProtoProduct"/>
<event-type name="MarketDepths" class="ProtoDepth"/>
<event-type name="MarketTrades" class="ProtoTrade"/>
<event-type name="Orders" class="ProtoOrder"/>
<event-type name="Positions" class="ProtoPosition"/>
<auto-import import-name="org.mycompany.mypackage.MyUtility"/>
<auto-import import-name="org.mycompany.util.*"/>
</esper-configuration>
The most likely issue is that you haven't used the fully qualified name of the class. In your examples, the classes have no namespace. If your classes are in a namespace add those to the class attribute in your config. If for some reason that isn't the issue, it is most likely that the tips are not visible within the AppDomain. Just make sure they are built into your assembly.
Title sounds like a real mouthful, so let me try to explain this. I'm very strong with grinding out Web Forms and this is my second crack at using a framework and MVC (don't ask about the first one). Start with a table like this:
Title: Milestones
Id int - Auto, PK
Project_Id int - FK, Many Milestones to One Project, Provided static for now
Number int
Name varchar(50)
Status_Id int - FK One Status to One Milestone
PlannedDate date
LatestEstimate date
MilestoneType_ID int - FK One Type to One Milestone
These all sit on an SQL server, are pulled in by an Entity and then are pulled in by an ObjectDataSource, like this:
<asp:ObjectDataSource runat="server" ID="MilestonesObjectSource" SelectMethod="GetByProject"
DeleteMethod="DeleteMilestone" TypeName="TCProjectManagement.Models.MilestonesAddition">
<SelectParameters>
<asp:Parameter DefaultValue="6" Name="ProjectID" Type="Int32" />
</SelectParameters>
<DeleteParameters>
<asp:Parameter Type="Int32" Name="Id" />
</DeleteParameters>
<UpdateParameters>
<asp:Parameter Type="Int32" Name="Id" />
<asp:Parameter Type="Int32" Name="Number" />
<asp:Parameter Type="String" Name="Name" />
<asp:Parameter Type="Int32" Name="Status_Id" />
<asp:Parameter Type="DateTime" Name="PlannedDate" />
<asp:Parameter Type="DateTime" Name="LatestEstimate" />
<asp:Parameter Type="Int32" Name="MilestoneType_ID" />
</UpdateParameters>
</asp:ObjectDataSource>
Sofar so good. Data pull seems to work out okay. I've got a couple more Object Sources that deal exclusively with the Foriegn Keys, so I'll skip those since they seem to be working.
The problems I have are attempting to stitch together many examples that don't seem to go together well. My objectives, in no paticular order:
1) Pin Editing: Click a button to edit, click it again to confirm. Rather do this than have somebody infer to double click for a change. Sofar, this sorta works.
2) Drop Downs for Foriegn Keys: While not in edit mode, should display the "Name" field of the FK. While in edit it should be a Drop Down for options (there's only three). This stays blank dispite what I do.
3) Deletion: Press a button to blow away a row. I put the button there but it's a copy of the JS for editing. What do I need to use to have it be deletion?
4) Dates: This doesn't work at all. One of the weird parts is that from the SQL server's type of Date, it gets changed to DateTime in the Entity and stays that way throughout. However, I cannot get the desired control of ext:DateField to cooperate with the provided data since it displays a time and completely blanks out when editing.. I know I'm doing something wrong here.
5) Saving Changes: Not quite sure I set it up right (or at all).
Provisions of Javascript:
<script type="text/javascript">
var pinEditors = function (btn, pressed) {
var columnConfig = btn.column,
column = columnConfig.column;
if (pressed) {
column.pinOverComponent();
column.showComponent(columnConfig.record, true);
} else {
column.unpinOverComponent();
column.hideComponent(true);
}
};
var pinDeleters = function (btn, pressed) { };
</script>
And ASP Code:
<ext:GridPanel ID="MilestonesGridPanel" runat="server" Title="Milestones" Width="1000px"
Height="300px">
<Store>
<ext:Store ID="MilestonesGridStore" runat="server" DataSourceID="MilestonesObjectSource">
<Model>
<ext:Model runat="server" IDProperty="Id">
<Fields>
<ext:ModelField Name="Id" Type="Int" />
<ext:ModelField Name="Number" Type="Int" />
<ext:ModelField Name="Name" Type="String" />
<ext:ModelField Name="Status_Id" Type="Int" />
<ext:ModelField Name="PlannedDate" />
<ext:ModelField Name="LatestEstimate" />
<ext:ModelField Name="MilestoneType_ID" Type="Int" />
</Fields>
</ext:Model>
</Model>
</ext:Store>
</Store>
<ColumnModel>
<Columns>
<ext:Column ID="IdColumn" runat="server" DataIndex="Id" Text="DBID" Visible="false" />
<ext:ComponentColumn ID="NumberColumn" runat="server" DataIndex="Number" OverOnly="true"
Pin="true" Flex="1" Text="Number" Editor="true">
<Component>
<ext:NumberField ID="NumberColumnNumberField" runat="server" />
</Component>
</ext:ComponentColumn>
<ext:ComponentColumn ID="NameColumn" runat="server" DataIndex="Name" OverOnly="true"
Pin="true" Flex="1" Text="Name" Editor="true">
<Component>
<ext:TextField ID="NameColumnTextField" runat="server" />
</Component>
</ext:ComponentColumn>
<ext:ComponentColumn ID="StatusColumn" runat="server" DataIndex="Status_Id" OverOnly="true"
Pin="true" Flex="1" Text="Status" Editor="true">
<Component>
<ext:ComboBox ID="StatusColumnDropDownBox" runat="server" QueryMode="Local" Editable="false"
StoreID="MilestoneStatusStore" DisplayField="Name" ValueField="ID" EmptyText="Empty" />
</Component>
</ext:ComponentColumn>
<ext:ComponentColumn ID="PlannedDateColumn" runat="server" DataIndex="PlannedDate"
OverOnly="true" Pin="true" Flex="1" Text="Planned Date" Editor="true">
<Renderer Format="Date" FormatArgs="'m/d/y'" />
<Component>
<ext:DateField ID="PlannedDateColumnTextField" runat="server" Format="MM/dd/yyyy"
EmptyText="Empty" />
</Component>
</ext:ComponentColumn>
<ext:ComponentColumn ID="LatestEstimateColumn" runat="server" DataIndex="LatestEstimate"
OverOnly="true" Pin="true" Flex="1" Text="Latest ETA" Editor="true">
<Renderer Format="Date" FormatArgs="'m/d/y'" />
<Component>
<ext:DateField ID="LatestEstimateColumnTextField" runat="server" Format="MM/dd/yyyy"
EmptyText="Empty" />
</Component>
</ext:ComponentColumn>
<ext:ComponentColumn ID="MilestoneTypeColumn" runat="server" DataIndex="MilestoneType_ID"
OverOnly="true" Pin="true" Flex="1" Text="Milestone Type" Editor="true">
<Component>
<ext:ComboBox ID="MilestoneTypeColumnComboBox" runat="server" QueryMode="Local" Editable="false"
StoreID="MilestoneTypesStore" DisplayField="Name" ValueField="ID" EmptyText="Empty" />
</Component>
</ext:ComponentColumn>
<ext:ComponentColumn ID="EditColumn" runat="server" Width="30" PinAllColumns="false"
AutoWidthComponent="false" OverOnly="true" Text="Edit" Sortable="False">
<Component>
<ext:Button ID="EditButton" runat="server" ToolTip="Pin Editors" Icon="Pencil" AllowDepress="true"
EnableToggle="true" Width="25">
<Listeners>
<Toggle Fn="pinEditors" />
</Listeners>
</ext:Button>
</Component>
</ext:ComponentColumn>
<ext:ComponentColumn ID="DeleteColumn" runat="server" Width="30" PinAllColumns="false"
AutoWidthComponent="false" OverOnly="true" Text="Delete" Sortable="False">
<Component>
<ext:Button ID="DeleteButton" runat="server" ToolTip="Delete Milestone" Icon="Delete"
AllowDepress="true" EnableToggle="false" Width="25">
<Listeners>
<Click Handler="#{MilestonesGridStore}.remove(this.parentMenu.dataRecord)" />
</Listeners>
</ext:Button>
</Component>
</ext:ComponentColumn>
</Columns>
</ColumnModel>
<SelectionModel>
<ext:RowSelectionModel runat="server" Mode="Single">
<Listeners>
<Select Handler="#{DeleteMilestoneGridButton}.enable();" />
<Deselect Handler="if (!#{MilestonesGridPanel}.selModel.hasSelection()) {
#{DeleteMilestoneGridButton}.disable();
}" />
</Listeners>
</ext:RowSelectionModel>
</SelectionModel>
<Buttons>
<ext:Button ID="AddtoMilestoneGridButton" runat="server" Text="Insert" Icon="Add">
<Listeners>
<Click Handler="#{MilestonesGridStore}.insert(0, {}); #{MilestonesGridPanel}.editingPlugin.startEditByPosition({row:0, column:0});" />
</Listeners>
</ext:Button>
<ext:Button ID="DeleteMilestoneGridButton" runat="server" Text="Delete" Icon="Delete"
Disabled="true">
<Listeners>
<Click Handler="#{MilestonesGridPanel}.deleteSelected();
if (!#{MilestonesGridPanel}.hasSelection()) {
#{DeleteMilestoneGridButton}.disable();
}" />
</Listeners>
</ext:Button>
<ext:Button ID="RefreshMilestonesGridButton" runat="server" Text="RefresH" Icon="Reload">
<Listeners>
<Click Handler="#{MilestonesGridStore}.load();" />
</Listeners>
</ext:Button>
<ext:Button ID="SaveMilestoneGridButton" runat="server" Text="Save" Icon="Disk">
<Listeners>
<Click Handler="#{MilestonesGridStore}.sync();" />
</Listeners>
</ext:Button>
</Buttons>
</ext:GridPanel>
I have a 2010 Excel Spreadsheet (OpenXML) with a textbox "LengthVariableTextBox" on it. I wish to change the textbox value (currently ##.# just as a placeholder) using the openxml SDK with VB.Net (perfered) or C#. Below is a XML fragment from drawing7.xml showing the textbox.
Thanks for the Help!
M. Scott Blalock
<xdr:twoCellAnchor>
<xdr:from>
<xdr:col>2</xdr:col>
<xdr:colOff>502920</xdr:colOff>
<xdr:row>8</xdr:row>
<xdr:rowOff>45720</xdr:rowOff>
</xdr:from>
<xdr:to>
<xdr:col>3</xdr:col>
<xdr:colOff>510540</xdr:colOff>
<xdr:row>9</xdr:row>
<xdr:rowOff>76200</xdr:rowOff>
</xdr:to>
<xdr:sp macro="" textlink="">
<xdr:nvSpPr>
<xdr:cNvPr id="287" name="3:24 PM 9/19/2012" />
<xdr:cNvSpPr txBox="1" />
</xdr:nvSpPr>
<xdr:spPr>
<a:xfrm>
<a:off x="1722120" y="1386840" />
<a:ext cx="617220" cy="198120" />
</a:xfrm>
<a:prstGeom prst="rect">
<a:avLst />
</a:prstGeom>
<a:solidFill>
<a:schemeClr val="tx1" />
</a:solidFill>
<a:ln w="9525" cmpd="sng">
<a:solidFill>
<a:schemeClr val="lt1">
<a:shade val="50000" />
</a:schemeClr>
</a:solidFill>
</a:ln>
</xdr:spPr>
<xdr:style>
<a:lnRef idx="0">
<a:scrgbClr r="0" g="0" b="0" />
</a:lnRef>
<a:fillRef idx="0">
<a:scrgbClr r="0" g="0" b="0" />
</a:fillRef>
<a:effectRef idx="0">
<a:scrgbClr r="0" g="0" b="0" />
</a:effectRef>
<a:fontRef idx="minor">
<a:schemeClr val="dk1" />
</a:fontRef>
</xdr:style>
<xdr:txBody>
<a:bodyPr vertOverflow="clip" wrap="square" rtlCol="0" anchor="t" />
<a:lstStyle />
<a:p>
<a:r>
<a:rPr lang="en-US" sz="1100">
<a:solidFill>
<a:schemeClr val="bg1" />
</a:solidFill>
</a:rPr>
<a:t>##.#</a:t>
</a:r>
</a:p>
</xdr:txBody>
</xdr:sp>
<xdr:clientData />
</xdr:twoCellAnchor>
Here is the answer:
http://social.msdn.microsoft.com/Forums/en-US/oxmlsdk/thread/3eb9075a-de13-4f4a-a83d-c42cdb6b8e98