Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
TeamSite
TeamSite, LiveSite and OpenDeploy
Issue with setting metadata
Migrateduser
Hi All,
I am facing issues while ingesting image with metadata.
The ingestion works fine when metadata has no Spanish characters like (é) ..
But when there is a Spanish characters , then the ingestion is failing with “Primitive Exception” .
Here is my code snippet which sets runtime parameters.
Any help is really appreciated ..
Working test data
[html]
string testData = @"
<metadata>
Alt Text
{38841910-E601-472C-9EE3-00CF0EFBB5D4}
Karma Kafe
";
[/html]
Not working
[html]
string testData = @"
<metadata>
Alt Text
{38841910-E601-472C-9EE3-00CF0EFBB5D4}
Karma Kafé
";
[/html]
[html]
string testData = @"
<metadata>
Alt Text
{38841910-E601-472C-9EE3-00CF0EFBB5D4}
Karma Kafe
";
MediaBinServiceProxy MedBin = new MediaBinServiceProxy();
MBRunTimePrimitive[] Rtp = null;
MBRunTimeParameter Parameter = null;
MBRunTimeParameter[] RunTimeParams = new MBRunTimeParameter[1];
MBPrimitive[] MPrimitives = Task.mPrimitives;
MBPrimitive MetadataAdder = MPrimitives[0];
MBParameter[] PrimParams = MetadataAdder.mParameters;
Parameter = new MBRunTimeParameter();
Parameter.mID = PrimParams[0].mID;
Parameter.mElements = new MBParameterElement[] { new MBParameterElement() { mValue = testData } };
RunTimeParams[0] = Parameter;
MBRunTimePrimitive Prim = new MBRunTimePrimitive();
Prim.mID = MetadataAdder.mID;
Prim.mParameters = RunTimeParams;
Rtp = new MBRunTimePrimitive[] { Prim };
}
[/html]
Find more posts tagged with
Comments
There are no comments yet