Changed content type (DDOCTYPE) is not visible in GUI
Hi,
I have strange problem. I made configuration import from other UCM machine (content types, metadata, security groups and so..). After import I checked it - I have my security groups there, I have my metadata there, but I DO NOT HAVE there my content type (in drop down box there are only couple of preinstalled content types - Acme xxx Department...). I have checked in the admin applets -> configuration manager and my added content type was there (among the 'Acme ....' preinstalled content types). I even deleted those 'Acme....' content types to be sure that only my one is there. But in the search gui there is still drop down box with 'Acme...' types and my own is missing there.
Strange because I do not know why it shows content types which have been deleted and are not in database anymore. I checked the database and in the table DOCTYPES there is only my own content type.
Can anybody give me som hint? I tried restarting servers, clearing browser's cache, but still without success.
Hi. I tried it, but it did not help. :(
It is strange. Before I had the error in log:
Unable to rename '/appl/ucm_cluster/server/weblayout/resources/schema.work' to '/appl/ucm_cluster/server/weblayout/resources/schema' while publishing schema.
When I looked into the 'schema' dir there was old doctypes in js file
In 'shcema.work' which was supposed to be renamed to 'schema' there was my correct document type in js file.
Now in /server/weblayout/resources/schema/views/doctypes/all.js file there is only my correct document type but i still have in gui the old wrong doctypes! :(
Similar Messages
-
Type AbstractStringBuilder is not visible
Dear All
I'm making a web dynpro application and getting the error "type AbstractStringBuilder is not visible".
Can anybody expalin me why it is coming?
Latest JDK version is installed on my system.
From where does the NWDS checks the version of JAVA?
What should i do to remove this error?
Request your support.
Regards
Vineet VikramHi Armin
Problem is solved after i changed my work space for NWDS.
There was some problem with the .meta file.
Thanks for your response.
I have awarded points to you.
Thanks again
Vineet -
How to change content type from Document set to Item
While creating content type I've selected Item as a parent but after created I can see its showing Document Set as a parent content type. Now can anyone please suggest if possible I can change the parent content type from Document Set to Item.
Hi,
From your description, I know you want to change content type’s parent after creating it.
There is no OOB method to change content type’s parent after you create it. If current content type has not been used, you could delete it and recreate it with your desired base type. Here are similar cases:
http://sharepoint.stackexchange.com/questions/16131/change-base-content-type-of-content-type
https://social.technet.microsoft.com/Forums/sharepoint/en-US/b976f17e-99b5-42bb-bc82-8d4123a625cf/change-the-parent-of-a-content-type.
This article may help you understand the relationship of Content type inheritance:
https://support.office.com/en-au/article/Create-and-edit-content-types-3d5d45af-608d-4183-8d51-073095fe0312#__toc239159103.
Best Regards
Vincent Han
TechNet Community Support -
Unable to change content types for pptx, xslx and docx files
I'm running into an issue where I cannot change the content type of any xml-based Office documents. Here's what I've done:
1 - Create a custom content (A) type based off the Document content type
2 - Enable the custom content type in a document library
3 - Add a document or select an existing document and edit the content type to the custom content type
4 - The custom content type will save for documents such as .ppt, .doc, etc. The custom content type will now save for .docx, .pptx or .xlsx files. The properties window will save without displaying any errors but the content type will not change
I ran several tests including creating another custom content type (B) based off of the Document content type. I proved that:
The custom content type (B) can be saved to .docx, .pptx or .xlsx files IF no additional columns are added to the custom content type
As soon as I add a column to the custom content type the aforementioned documents cannot be saved as that custom content type
Documents created through the File option in a document library also fail to change content type to the custom content type when saved. Most of my files are .docx, .pptx, or .xlsx files, and this issue poses a significant roadblock in our SharePoint roll-out.
I appreciate any advise you can provide.Hi,
According to your post, my understanding is that the custom content type could not save with .docx, pptx and xlsx files when with a additional column.
I tested with your issue as the steps below, the custom content type worked well.
Create a custom column Doc1
Create a custom content type Doc1, the parent content type from chose the Document Content Types, Parent Content Type chose Document.
Add the custom Doc1 to the custom content type Doc1.
Add the custom content type into the library LIbA.
Upload the files with .docx, .pptx and .xlsx files into the library with the custom content type, they all save well with the custom content type.
I also create other content type with other Parent Content Type, they all worked.
Did the issue occur in other library? You can create a new library then use the custom content type to check whether it works.
You can also use the other browsers to check whether it works, such as Chrome, Firefox.
Thanks & Regards,
Jason
Jason Guo
TechNet Community Support -
Step type section is not visible in workflow builder.
Hello Friends,
Step type section is not visible in workflow builder even though I am in change mode. How to make it visible.
Cheers,
SenthilHi,
I in workflow builder ucan see three dropdown box in the left side of your screen. In that the third listbox you click to get the Step Types..
thank You. -
How to change content-type in receiver mail adapter
Hi,
I have receiver mail adapter for sending XML file as attachment in the mail. My partner expects to receive mail with content-type: text/xml, but XI sends Content-Type: application/xml. Please advise how I can change content-type to text/xml.
Thank you
Levhi,
try MessageTransformBean
Transform.ContentType
http://help.sap.com/saphelp_nw04/helpdata/en/57/0b2c4142aef623e10000000a155106/content.htm
also shown in my blog:
/people/michal.krawczyk2/blog/2005/11/23/xi-html-e-mails-from-the-receiver-mail-adapter
Regards,
michal
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a> -
Type OracleCallableStatement is not visible
Hi!
I've installed weblogic server 10.3.3.0, and deployed my webapp in it.
When I run it, I get the error
Compilation of JSP File '/my_file.jsp' failed:
my_file.jsp:23:7: The type OracleCallableStatement is not visible
my_file.jsp:30:37: The type OracleTypes is not visible
My webapp worked fine in OAS 10g 10.1.2.0.2 Java Edition...
Any clue? anybody?
Thanks!Solved.
Instead of importing "oracle.jdbc.driver.*", I import"oracle.jdbc.*" and works fine.
Thanks anyway. -
Hi all,
We are trying to post data from XI to a Webservice using SOAP adapter.
XI sends the payload in "application/xml" content type whereas the webservice expects the "text/xml" content type.
Though I have used the standard apdater module "localejbs/AF_Modules/MessageTransformBean" in the SOAP receiver communication channel, the content type transformation is not happening properly.
Please let me know whether I'm missing out any of the steps.
Thanks,
Geetha> Though I have used the standard apdater module "localejbs/AF_Modules/MessageTransformBean" in the SOAP receiver communication channel, the content type transformation is not happening properly.
>
> Please let me know whether I'm missing out any of the steps.
I do not see anything wrong. Check for typos.
The parameter should be: Transform.ContentType
Regards
Stefan -
Getting an error "type AbstractStringBuilder is not visible"
Hi frndz..
Am developing an Web dynpro application in this am using "StringBuffer" and am writing the code like this
StringBuffer strBf = new StringBuffer();
strBf .append("<?xml version='1.0' encoding='UTF-8' standalone='no'?>\n");
strBf .append("<").append(entriesName).append(">\n");
and in the secound line of code itz show an error like
"type AbstractStringBuilder is not visible "
how to reslove this.
Thanks in Advance
Regards
RajeshHi
resolve the higher version of Java and reinstall the java 1.4.2_09 .
see this thread
Urgent "Entity Service Build Failed"
the type AbstractStringBuilder is not visible ----- Please Help
Thanks -
Content Type Description is not adding on list
Hello
I have some custom content type on site level and each content type I have different description. When I add content type manually in existing document library, description is also coming for added content type. But when I add content type programmatically,
description not coming with content type it is coming as empty. I have used following MSDN article for adding content type.
http://msdn.microsoft.com/en-us/library/office/aa543576(v=office.14).aspx
Can one please let me know what am I missing here?
Regards
AviHi,
According to your post, my understanding is that the description of the content type not displayed in the site while adding the content type programmatically.
I had tested the code of the above link with a custom content type based on the Document content type, it worked without any issue.
To narrow down the issue, you can check with the following steps.
You can recreate a new content type then check whether it works.
You can use other libraries to check whether it works.
You can also check the event log and ULS log to see if anything unexpected occurred.
To check event log, click the Start button and type “Event Viewer” in the Search box.
For SharePoint 2010, by default, ULS log is at
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\LOGS
Thanks & Regards,
Jason
Jason Guo
TechNet Community Support -
The method clone() from the type Object is not visible
Hi,
This is my 1st post here for a few years, i have just returned to java.
I am working through a java gaming book, and the "The method clone() from the type Object is not visible" appears, preventing the program from running. I understand "clone" as making a new copy of an object, allowing multiple different copies to be made.
The error occurs here
public Object clone() {
// use reflection to create the correct subclass
Constructor constructor = getClass().getConstructors()[0];
try {
return constructor.newInstance(new Object[] {
(Animation)left.clone(),
(Animation)right.clone(),
(Animation)deadLeft.clone(),
(Animation)deadRight.clone()
catch (Exception ex) {
// should never happen
ex.printStackTrace();
return null;
}The whole code for this class is here
package tilegame.sprites;
import java.lang.reflect.Constructor;
import graphics.*;
A Creature is a Sprite that is affected by gravity and can
die. It has four Animations: moving left, moving right,
dying on the left, and dying on the right.
public abstract class Creature extends Sprite {
Amount of time to go from STATE_DYING to STATE_DEAD.
private static final int DIE_TIME = 1000;
public static final int STATE_NORMAL = 0;
public static final int STATE_DYING = 1;
public static final int STATE_DEAD = 2;
private Animation left;
private Animation right;
private Animation deadLeft;
private Animation deadRight;
private int state;
private long stateTime;
Creates a new Creature with the specified Animations.
public Creature(Animation left, Animation right,
Animation deadLeft, Animation deadRight)
super(right);
this.left = left;
this.right = right;
this.deadLeft = deadLeft;
this.deadRight = deadRight;
state = STATE_NORMAL;
public Object clone() {
// use reflection to create the correct subclass
Constructor constructor = getClass().getConstructors()[0];
try {
return constructor.newInstance(new Object[] {
(Animation)left.clone(),
(Animation)right.clone(),
(Animation)deadLeft.clone(),
(Animation)deadRight.clone()
catch (Exception ex) {
// should never happen
ex.printStackTrace();
return null;
Gets the maximum speed of this Creature.
public float getMaxSpeed() {
return 0;
Wakes up the creature when the Creature first appears
on screen. Normally, the creature starts moving left.
public void wakeUp() {
if (getState() == STATE_NORMAL && getVelocityX() == 0) {
setVelocityX(-getMaxSpeed());
Gets the state of this Creature. The state is either
STATE_NORMAL, STATE_DYING, or STATE_DEAD.
public int getState() {
return state;
Sets the state of this Creature to STATE_NORMAL,
STATE_DYING, or STATE_DEAD.
public void setState(int state) {
if (this.state != state) {
this.state = state;
stateTime = 0;
if (state == STATE_DYING) {
setVelocityX(0);
setVelocityY(0);
Checks if this creature is alive.
public boolean isAlive() {
return (state == STATE_NORMAL);
Checks if this creature is flying.
public boolean isFlying() {
return false;
Called before update() if the creature collided with a
tile horizontally.
public void collideHorizontal() {
setVelocityX(-getVelocityX());
Called before update() if the creature collided with a
tile vertically.
public void collideVertical() {
setVelocityY(0);
Updates the animaton for this creature.
public void update(long elapsedTime) {
// select the correct Animation
Animation newAnim = anim;
if (getVelocityX() < 0) {
newAnim = left;
else if (getVelocityX() > 0) {
newAnim = right;
if (state == STATE_DYING && newAnim == left) {
newAnim = deadLeft;
else if (state == STATE_DYING && newAnim == right) {
newAnim = deadRight;
// update the Animation
if (anim != newAnim) {
anim = newAnim;
anim.start();
else {
anim.update(elapsedTime);
// update to "dead" state
stateTime += elapsedTime;
if (state == STATE_DYING && stateTime >= DIE_TIME) {
setState(STATE_DEAD);
}Any advice? Is it "protected"? Is the code out-of-date?
thankyou,
Lance 28Lance28 wrote:
Any advice? Is it "protected"? Is the code out-of-date?Welcome to the wonderful world of Cloneable. In answer to your first question: Object's clone() method is protected.
A quote from Josh Bloch's "Effective Java" (Item 10):
"A class that implements Cloneable is expected to provide a properly functioning public clone() method. It is not, in general, possible to do so unless +all+ of the class's superclasses provide a well-behaved clone implementation, whether public or protected."
One way to check that would be to see if super.clone() works. Their method uses reflection to try and construct a valid Creature, but it relies on Animation's clone() method, which itself may be faulty. Bloch suggests the following pattern:public Object clone() throws CloneNotSupportedException {
ThisClass copy = (ThisClass) super.clone();
// do any additional initialization required...
return copy
if that doesn't work, you +may+ be out of luck.
Another thing to note is that Object's clone() method returns a +shallow+ copy of the original object. If it contains any data structures (eg, Collections or arrays) that point to other objects, you may find that your cloned object is now sharing those with the original.
Good luck. -
Field values are not erased when I change content types.
On an SP2010 site I created 2 Site Columns TextColumn1 and TextColumn2 (both Single Line of text).
I added Two Content Types ContentType1 and ContentType2 (both derived from Item).
I created a list and enabled content types. I Added ContentType1 and ContentType2 to the list.
I configured the devfault view to show TextColumn1 and TextColumn2.
I added an Item of ContentType1 and for TextColumn1 added the value 'c1'
I edited the item and changed the content Type to ContentType2 and entered a value of c2 for TextColumn2.
The default view still shows the value of 'c1' for TextColumn1 even though the item is of content type ContentType2 which does not have this field defined.
How do I correct this?If I'm understanding your question correctly, this is expected behavior. The item still has both the content types applied to it. The columns are included in the view. So Any values in those columns for that item will be displayed.
You could create views for each content type.
You could also look into changing the default content type.
Not sure if this helps because I'm not sure I understood the problem. -
Content Type name is not changing on site level
Hello
I have one new SP2010 site. I am changing the content type name using following script, but it is not working. I have not used content type in any list or library nor in any existing ite, I am not using content type hub. Can anyone why content name is not
updating?
$ParentContentType = $site.RootWeb.AvailableContentTypes["Data control1"]
if ($ParentContentType -eq $null)
write-host "not exist"
else
$web.$ParentContentType.Name="Data 123Control1"
$web.AllowUnsafeUpdates = $true;
$web.Update()
$web.AllowUnsafeUpdates = $false;Make the following change, hope this helps you
$site.RootWeb.AvailableContentTypes
to
$site.RootWeb.ContentTypes
Ashish Kanoongo, MCP, MCSD, MCTS http://akanoongo.blogspot.in/ -
After activation of atandard business content key figure is not visible
Hi all,
I am trying to implement inventory management scnerio in BW3.5 using screen shot PDF , for this i activate standard business content ( cube : 0IC_c03 ) and activate all its related object . one of my key figure 0RECVS_VAL I want to change its parameter for this when I search this infoobject in Infoobject tree this is not visible
while its present in cube 0IC_c03 ,can anybody tell me for changing in this key figure what can i do???
Thanks and regards
Ankit modiHi
Again it install from BI content and do the changes what ever u want by RSD1
Cheers
Edited by: SDN USER on Jun 26, 2008 12:04 PM -
Hi,
How can I change the content-type (text/xml;charset=utf-8) sent by the SOAP adapter to an external webservice?
I need to sent text/xml as content-type to the webservice, otherwise I get an error.
I have tried with different adapter modules but so far no positive results.
Thanks.
Edited by: Roberto Viana on Mar 26, 2009 2:02 PMHi Stefan, many thanks for your answer.
According to your answer it is not possible to manipulate/change the way PI fills the content-Type.
I was hoping to solve the issue with a custom built adapter module that sets the HTTP header content-type to text/xml without the charset entry, but I understand that's not the case.
Regards,
Roberto Viana
Maybe you are looking for
-
Error-RC-20200: Fatal: Could not find Unzip. At this time only Native UnZip
Hi all, I am installing 12.1.1 in Oracle linux 6.1 server 64bit, while starting rapidwiz getting error "RC-20200: Fatal: Could not find Unzip. At this time only Native UnZip 5.X is supported. Please make sure you have UnZip 5.X in your path and try a
-
How to set the File Path to run a javascript using Plugin Code?
Hi All, Im new to Indesign Plugin Development.Can any one help me out with my problem. What i want to do is to run a javascript using Plugin Code.When i went through this forum i was able to find out that i should use the IscriptRunner Class to autom
-
Drop6: Java/Class Diagrams - associations + thumbnail isssue
Hi JDev team I'm having a play with the Java/Class Diagrams in 11g Drop6 and importing existing class structures to display. Under an ADF BC project I've created both a Java Diagram and a Class Diagram, and added the "oracle.jbo.server.AppModuleImpl"
-
HT2736 Giftcard for Apple store?
Where can I buy a giftcard for Apple store? I am not looking for bying music in Itunes.
-
Payed my bill, but everytime I try to open a app from creative cloud it says I need to renew my subscription. How do I get around this?