1151: A conflict exists with definition i in namespace internal

I've double checked my codes but can't seem to find the solution to the problem. 1151: A conflict exists with definition i in namespace internal this keeps coming up and I don't know how to get around it.
It's meant for this bit of code:
for (var i: = 0; i < wordLength; i ++)
     myDisplay [i] = "_";
     displayOut += " " + myDisplay[i];
Help please.
Code for the script as a whole is below just in case.
import flash.text.TextField;
import flash.text.TextFormat;
var words:Array = ['BUTTERFLY', 'GOGGLES'];
var number: Number;
var inProgress:String = new String;
var wordLength:Number;
var myDisplay:Array = new Array;
var displayOut: String = new String;
var rightCount:Number = 0;
var used : String = new String;
var guess : String = new String;
var guessLetter: String = new String;
var correctGuess:Boolean = false;
number = (Math.floor(Math.random() * 6));
inProgress = words [number];
wordLength = inProgress.length;
for (var i: = 0; i < wordLength; i ++)
          myDisplay [i] = "_";
          displayOut += " " + myDisplay[i];
var answerText: TextField = new TextField ();
var myFormat : TextFormat = new TextFormat ();
          myFormat.font = "Janda Curlygirl Chunky";
          myFormat.color = 0X336600;
          myFormat.size = 22;
addChild(answerText);
this.answerText.x = 375;
this.answerText.y = 100;
this.answerText.width = 250;
this.answerText.text = displayOut;
answerText.setTextFormat(myFormat);
this.guess_btn.addEventListener(MouseEvent.CLICK, playMe);
function playMe (Event:MouseEvent) : void
                    guessLetter = this.letterIn_txt.text.toUpperCase();
                    for (var i = 0 ; i < wordLength; i++)
                              if (inProgress.charAt == guessLetter)
                                        trace ("true");
                                        myDisplay [i] = guessLetter;
                                        correctGuess = true;
                                        rightCount++;
if (correctGuess == false)
                    used += this.letterIn_txt.text;
                    this.usedLetter_txt.text = used;
                    this.hang_mc.gotoAndStop('paths');
          else
                    correctGuess = false;
                    displayOut = "";
for (var c=; c < wordLengthl; c++)
                    displayOut += " " + myDisplay[c];
this.answerText.text = displayOut;
this.answerText.text. set TextFormat(myFormat)
this.letterIn_txt.text =" ";

Okay I've made these changes but still have errors...this seems to still be the problem:
for (var i:int=0; i < wordLength; i ++)
Help please.
import flash.text.TextField;import flash.text.TextFormat;
var words:Array = ;var number: Number;var inProgress:String = new String;var wordLength:Number;var myDisplay:Array = new Array;var displayOut: String = new String;var rightCount:Number = 0;var used : String = new String;var guess : String = new String;var guessLetter: String = new String;var correctGuess:Boolean = false;
number = (Math.floor(Math.random() * 6));inProgress = words ;wordLength = inProgress.length;
for (var i:int = 0; i < wordLength; i ++){     myDisplay = "_";     displayOut += " " + myDisplay[i];}
var answerText: TextField = new TextField ();var myFormat : TextFormat = new TextFormat ();     myFormat.font = "Janda Curlygirl Chunky";     myFormat.color = 0X336600;     myFormat.size = 22;     addChild(answerText);answerText.x = 375;answerText.y = 100;answerText.width = 250;answerText.text = displayOut;
answerText.setTextFormat(myFormat);
this.guess_btn.addEventListener(MouseEvent.CLICK, playMe);
function playMe (Event:MouseEvent) : void     {          guessLetter = this.letterIn_txt.text.toUpperCase();          for (var i:int = 0 ; i < wordLength; i+)          {               if (inProgress.charAt == guessLetter)               {                    trace ("true");                    myDisplay = guessLetter;                    correctGuess = true;                    rightCount+;               }          }
if (correctGuess == false)     {           used = this.letterIn_txt.text;          this.usedLetter_txt.text = used;          this.hang_mc.gotoAndStop('paths');     }     else          correctGuess = false;                    displayOut = "";          for (var c:int= 0; c < wordLength; c+)     {          displayOut += " " + myDisplay[c];     }
answerText.text = displayOut;answerText.setTextFormat(myFormat)letterIn_txt.text =" "; }
Date: Fri, 8 Jun 2012 09:04:14 -0600
From: [email protected]
To: [email protected]
Subject: 1151: A conflict exists with definition i in namespace internal
    Re: 1151: A conflict exists with definition i in namespace internal
    created by dmennenoh in ActionScript 3 - View the full discussion
You have:for (var i: = 0; i < wordLength; i ++) With i: but no type after it. Use: for (var i:int = 0; i < wordLength; i +) Later you also have: for (var c=; c < wordLengthl; c+) you're missing the value to initialze c and you have wordLengthl not wordLength
     Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4476474#4476474
     To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4476474#4476474. In the Actions box on the right, click the Stop Email Notifications link.
     Start a new discussion in ActionScript 3 by email or at Adobe Forums
  For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

Similar Messages

  • 1151: A conflict exists with definition direction in namespace internal.

    Hello everyone, i'm a newbie in flash so be cool and patient...
    for my final project in college i'm doing a site in which i have scroll buttons (Scroll up and downs)..i use those buttons on more than one page and differently...so i copy pasted the same actions of one pasted for the other and changed the names accordingly..and i got this error...i researched for a solution and found out that i can't put to "var" that are the same...so for the second i took out...gona show u how my codes were and how they are now :
    b12.buttonMode=true;
    b22.buttonMode=true;
    b12.addEventListener(MouseEvent.MOUSE_DOWN, scrollDown);
    b22.addEventListener(MouseEvent.MOUSE_DOWN, scrollUp);
    b12.addEventListener(MouseEvent.MOUSE_UP, stopScroll);
    b22.addEventListener(MouseEvent.MOUSE_UP, stopScroll);
    var direction = "";
    txtgam.addEventListener(Event.ENTER_FRAME, keepScrolling);
    function keepScrolling(e)
              if(direction == "down") {
                        if(txtgam.y > -400){
                                  txtgam.y = txtgam.y - 10;
              if(direction == "up") {
                        if(txtgam.y < 25){
                                  txtgam.y = txtgam.y +25;
    function scrollUp(e)
              direction = "down";
    function stopScroll(e)
              direction = "";
    function scrollDown(e)
              direction = "up";
    to change i just erased "var" in var direction ="";
    now i got another problem :
    Scene 1, Layer 'actions', Frame 147, Line 42
    1021: Duplicate function definition.
    about
    scrollUp       stopScroll         scrollDown
    so i changed and put 2 after each word and i got another problem :
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
              at Flashfinal_fla::MainTimeline/keepScrolling()
    please help

    this is the code now....without var it worked but gave me the #1009..now with var it's giving me
    Scene 1, Layer 'actions', Frame 147, Line 17
    1151: A conflict exists with definition direction in namespace internal.
    b12.buttonMode=true;
    b22.buttonMode=true;
    b12.addEventListener(MouseEvent.MOUSE_DOWN, scrollDown);
    b22.addEventListener(MouseEvent.MOUSE_DOWN, scrollUp);
    b12.addEventListener(MouseEvent.MOUSE_UP, stopScroll);
    b22.addEventListener(MouseEvent.MOUSE_UP, stopScroll);
    var direction = "";
    txtgam.addEventListener(Event.ENTER_FRAME, keepScrolling2);
    function keepScrolling2(e)
              if(direction == "down") {
                        if(txtgam.y > -270){
                                  txtgam.y = txtgam.y - 10;
              if(direction == "up") {
                        if(txtgam.y < 25){
                                  txtgam.y = txtgam.y +25;
    function scrollUp2(e)
              direction = "down";
    function stopScroll2(e)
              direction = "";
    function scrollDown2(e)
              direction = "up";

  • 1151: A conflict exists with definition timer in namespace internal.

    I am starting to see error on following code: private var timer:Timer;
    And when I change it to private var timerxxxxxx:Timer;
    The error message changed to "A Conflict exists with definition timerxxxxxx in namespace internal.
    I have googled and read some posts suggesting uncheck something under "Publish Setting". I am using "Flash Builder 4"(based on Eclipse) now and don't see that setting anywhere.
    Any help is highly appreciated.

    This example seems to work fine for me:
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                      xmlns:s="library://ns.adobe.com/flex/spark">
         <fx:Script>
              <![CDATA[
                   private var timer:Timer;
                   private var timerxxxxxx:Timer;
              ]]>
         </fx:Script>
    </s:Application>
    Does that work for you?

  • Error 1151: A conflict exists with definition win in namespace internal

    Hello,
    I am trying to create a link to two popup windows in my flex
    application with the following code.
    <?xml version="1.0" encoding="utf-8"?>
    <!--Application Initialization -->
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute" width="850" height="750"
    cornerRadius="10" borderColor="#000000"
    backgroundGradientColors="[#1b3434, #000000]">
    <mx:Model id="IMSAI_client">
    <client>
    <clientName>IMSAI Microcomputers and Fischer-Freitas
    Company</clientName>
    <industry>Computer Manufacturing</industry>
    <description>Information
    Technology</description>
    </client>
    </mx:Model>
    <!--IMSAI Popup-->
    <mx:Script>
    <![CDATA[
    import mx.managers.PopUpManager;
    [Bindable]
    18. private var win:IMSAI;
    private function init():void{}
    private function createPopup():void{
    23. win=IMSAI(PopUpManager.createPopUp(this,IMSAI,true));
    win.title = 'IMSAI.Net';
    win.x = -500;
    win.y = 0;
    customMove.end();
    customMove.play();
    ]]>
    </mx:Script>
    <mx:Style>
    TitleWindow {
    borderStyle:solid;
    borderThickness:2;
    </mx:Style>
    <mx:Parallel id="customMove" target="{win}">
    <mx:Move duration="2000" xTo="{(stage.width - win.width)
    / 2}" yTo="{(stage.height - win.height) / 2}" />
    <mx:WipeDown duration="2000" />
    </mx:Parallel>
    <!--New Popup-->
    <mx:Script>
    <![CDATA[
    import mx.managers.PopUpManager;
    [Bindable]
    53. private var win:Horse;
    private function inits():void{}
    private function createPopups():void{
    win=Horse(PopUpManager.createPopUp(this,Horse,true));
    win.title = 'Horse';
    win.x = -500;
    win.y = 0;
    customMove.end();
    customMove.play();
    ]]>
    </mx:Script>
    <mx:Style>
    TitleWindow {
    borderStyle:solid;
    borderThickness:2;
    </mx:Style>
    <mx:Parallel id="customMove2" target="{win}">
    <mx:Move duration="2000" xTo="{(stage.width - win.width)
    / 2}" yTo="{(stage.height - win.height) / 2}" />
    <mx:WipeDown duration="2000" />
    </mx:Parallel>
    I verified that the code works with one window, but when I
    try to use the code to link to a second window I get the 1151:
    error message during compile on line 53. It seems to center around
    win:Horse. win:Horse in intended for the second popup, much like
    win:IMSAI is intended for the first popup. I changed the names of
    the variables in the second half of the code so it would not
    produce the same window or call the same variables. However, when I
    change the names in the second half of the code that is for a
    second popup, I get three errors for the top half of the code
    instead of the single 1151 error for all of the code.
    When I change the name of the variables for the second half
    to prevent it from calling the same window, I get the following
    errors in the first half of the code.
    Line:18: 1046: Type was not found or was not a compile-time
    contact:IMSAI.
    Line 23: 1180: Call to a possibly undefined method: IMSAI
    Line 23: 1067: Implicit coersion of a value of the type
    mx:controls: Button to an unrelated class.
    However, when I leave everything the same in both halves, I
    only get the 1151 error on line 53.
    Help resolving this would be greatly appreciated. Please be
    aware that without the second half of code, the first half works
    perfectly fine. It is just when you try to use the same code again
    to generate a popup with a different variable name that it gives
    problems. Thank you again.

    Hello,
    I am trying to create a link to two popup windows in my flex
    application with the following code.
    <?xml version="1.0" encoding="utf-8"?>
    <!--Application Initialization -->
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute" width="850" height="750"
    cornerRadius="10" borderColor="#000000"
    backgroundGradientColors="[#1b3434, #000000]">
    <mx:Model id="IMSAI_client">
    <client>
    <clientName>IMSAI Microcomputers and Fischer-Freitas
    Company</clientName>
    <industry>Computer Manufacturing</industry>
    <description>Information
    Technology</description>
    </client>
    </mx:Model>
    <!--IMSAI Popup-->
    <mx:Script>
    <![CDATA[
    import mx.managers.PopUpManager;
    [Bindable]
    18. private var win:IMSAI;
    private function init():void{}
    private function createPopup():void{
    23. win=IMSAI(PopUpManager.createPopUp(this,IMSAI,true));
    win.title = 'IMSAI.Net';
    win.x = -500;
    win.y = 0;
    customMove.end();
    customMove.play();
    ]]>
    </mx:Script>
    <mx:Style>
    TitleWindow {
    borderStyle:solid;
    borderThickness:2;
    </mx:Style>
    <mx:Parallel id="customMove" target="{win}">
    <mx:Move duration="2000" xTo="{(stage.width - win.width)
    / 2}" yTo="{(stage.height - win.height) / 2}" />
    <mx:WipeDown duration="2000" />
    </mx:Parallel>
    <!--New Popup-->
    <mx:Script>
    <![CDATA[
    import mx.managers.PopUpManager;
    [Bindable]
    53. private var win:Horse;
    private function inits():void{}
    private function createPopups():void{
    win=Horse(PopUpManager.createPopUp(this,Horse,true));
    win.title = 'Horse';
    win.x = -500;
    win.y = 0;
    customMove.end();
    customMove.play();
    ]]>
    </mx:Script>
    <mx:Style>
    TitleWindow {
    borderStyle:solid;
    borderThickness:2;
    </mx:Style>
    <mx:Parallel id="customMove2" target="{win}">
    <mx:Move duration="2000" xTo="{(stage.width - win.width)
    / 2}" yTo="{(stage.height - win.height) / 2}" />
    <mx:WipeDown duration="2000" />
    </mx:Parallel>
    I verified that the code works with one window, but when I
    try to use the code to link to a second window I get the 1151:
    error message during compile on line 53. It seems to center around
    win:Horse. win:Horse in intended for the second popup, much like
    win:IMSAI is intended for the first popup. I changed the names of
    the variables in the second half of the code so it would not
    produce the same window or call the same variables. However, when I
    change the names in the second half of the code that is for a
    second popup, I get three errors for the top half of the code
    instead of the single 1151 error for all of the code.
    When I change the name of the variables for the second half
    to prevent it from calling the same window, I get the following
    errors in the first half of the code.
    Line:18: 1046: Type was not found or was not a compile-time
    contact:IMSAI.
    Line 23: 1180: Call to a possibly undefined method: IMSAI
    Line 23: 1067: Implicit coersion of a value of the type
    mx:controls: Button to an unrelated class.
    However, when I leave everything the same in both halves, I
    only get the 1151 error on line 53.
    Help resolving this would be greatly appreciated. Please be
    aware that without the second half of code, the first half works
    perfectly fine. It is just when you try to use the same code again
    to generate a popup with a different variable name that it gives
    problems. Thank you again.

  • 1151: A conflict exists with definition browseH in namespace internal

    Anyone knows what that error message really means?
    Here's the code in question:
    var myStage:Stage = this.stage;
    const swfW:uint = 1920;
    const swfH:uint = 1080;
    stage.scaleMode = StageScaleMode.NO_SCALE;
    if ((myStage.stageHeight / swfH) >  (myStage.stageWidth / swfW))
        var browserH:uint = myStage.stageHeight * (myStage.stageWidth / swfW);
    else
        var browserH:uint = swfH;   ( *** line triggering the error *** )
    stage.scaleMode = StageScaleMode.SHOW_ALL;
    I've tried to rename browserH with many different names, but to no avail.
    Any ideas?
    Ron

    Variable names MUST BE UNIQUE. You cannot declare variable with the same name twice in the same scope. Use:
    var browserH:uint;
    if ((myStage.stageHeight / swfH) >  (myStage.stageWidth / swfW))
         browserH:uint = myStage.stageHeight * (myStage.stageWidth / swfW);
    else
        browserH:uint = swfH;   ( *** line triggering the error *** )

  • 1151: A conflict exists with definition soundClip in namespace internal.

    The sound functions are at the bottom. It worked the other day - looks like I touched something. Will try to google as well.
    By the way, don't know what to put into the last bit soundLoading.
    package {
    import flash.display.Bitmap;
    import flash.display.MovieClip;
    import flash.media.Sound;
    import flash.net.navigateToURL;
        import flash.net.URLRequest;//sound uses URL to navigate to route sound folder
        import flash.net.URLVariables;
    import flash.events.Event;
    import flash.ui.Mouse;
    import flash.events.MouseEvent;
    import flash.geom.Point;
    import fl.transitions.Tween;
    import fl.transitions.TweenEvent;
    import fl.transitions.easing.*;
    import proyectos.trivia.TriviaEvent;
    public class game1SunnyWalk extends MovieClip {
    private var v:Number=5;
    private var varObject:String;
    private var i:Number;
    private var arrayObjects:Array;
    private var soundClip:Sound;
    private var randomnumber:Number;
    public function game1SunnyWalk() {
    this.addEventListener(Event.ADDED_TO_STAGE, this.onAddedToStage);//This starts it all off. In my other games I need a listener as they look for a stage that is not there yet. Here it appears to be OK as we are using document class.
    // populate array and initiate variables i and varObject
    this.arrayObjects=["one","two","three","four","five"];
    this.i=1;
    this.varObject=arrayObjects[i-1];
    //trace(varObject);
    private function onAddedToStage(e:Event) {
    this.stage.addEventListener(MouseEvent.CLICK, myClickReaction);
    public function getXMLName(nombre:String) { // Added by Ignacio why???
    trace("game1SunnyWalk", nombre);
    var clickPoint:Point = new Point();
    public function myClickReaction(e:MouseEvent):void {
    clickPoint.x=this.mouseX;
    clickPoint.y=this.mouseY;
    addEventListener(Event.ENTER_FRAME, onEnterFrame);
    addEventListener(Event.ENTER_FRAME,enterFrameHandler);
    public function onEnterFrame(event:Event):void {
    var xDistance:Number=clickPoint.x-this.hero.x;
    var yDistance:Number=clickPoint.y-this.hero.y;
    var angle:Number=Math.atan2(yDistance,xDistance);
    this.hero.x+=v*Math.cos(angle);
    this.hero.y+=v*Math.sin(angle);
    if (clickPoint.x>=hero.x) {
    this.hero.gotoAndPlay("right");
    //trace(Math.abs(xDistance));
    if (this.hero.x>=clickPoint.x) {
    this.hero.gotoAndPlay("left");
    //trace(Math.abs(xDistance));
    if (Math.abs(xDistance)<=10) {
    //trace("works");
    this.hero.gotoAndPlay("static");
    removeEventListener(Event.ENTER_FRAME, onEnterFrame);
    function enterFrameHandler(e:Event):void {// ALL game code here ie: hit last object, don't hit object, object gets to end of screen and must be reinitiated etc...
    varObject=arrayObjects[i-1];
    if (this.hero.hitTestObject(this[varObject])) {// I tried to hitTest the string whereas you have to target the object.
    //starts sound
    init();
    // spins the object
    spin();
    //trace(varObject);
    removeEventListener(Event.ENTER_FRAME, enterFrameHandler);
    var soundClip:Sound;
    //var routeSoundObject:String="sound/"+this.varObject+".mp3";
    //var routeSoundObject:String="sound/one.mp3";
    //trace(routeSoundObject);
    function init() {
    soundClip = new Sound();
    //soundClip.load(new URLRequest(routeSoundObject));
    soundClip.load(new URLRequest("sound/one.mp3"));
    soundClip.addEventListener(Event.COMPLETE, soundLoaded);
    soundClip.addEventListener(ProgressEvent.PROGRESS, soundLoading);
    function soundLoaded(e:Event) {
    this.soundClip.play();
    function soundLoading(e:Event) {
    //this.soundClip.play();
    function spin() {
    //tw.addEventListener(TweenEvent.MOTION_FINISH, spinStopped);// note than when you use addEventListener - the function called uses that event as an argument in brackets after the function name
    var tw:Tween=new Tween(this[varObject],"rotation",Strong.easeOut,0,360,2,true);
    var numturns:int=8;
    this[varObject].removeEventListener(MouseEvent.CLICK, spin);
    tw.begin=this[varObject].rotation;
    tw.finish=numturns*360;
    tw.start();
    i=i+1;

    SORRY
    Just seen that it was already declared above. The error should be alittle more helpful ie: duplicate variable naming etc...

  • 1151: A conflict exists

    1151: A conflict exists with definition btnTest in namespace
    internal.

    you have two (or more) btnTest declarations in the same
    namespace.

  • Conflict exists with another time entry

    Hi, a user tries to submit a vacation leave for April 1 2009 in ESS and gets the following error:
    Conflict exists with another time entry from 16.12.2008 to 19.12.2008
    I checked her infotype 2001 records and the there are no time entry for April 1 2009
    How come the error message is saying the conflict is with a date in 2008 when she is entering a vacation request for 2009.
    Any suggestions how to resolve this?
    Thanks.

    there is an absence from 12/19/2008 to 12/26/2008 but it was processed successfully so there shouldn't be any conflict there but the system seems to be thinking there is.
    Another thing - the absence for 12/19 to 12/26 is not a vacation but sickness with certificate.  The user is trying to do a vacation time for April 14 and system is saying it conflicts with 12/16 to 12/19 dates (which there weren't any dates in infotype 2001).

  • 1152: A conflict exists with inherited definition flash.display:DisplayObject.x in namespace public.

    I am not receiving any errors when I check syntax but I am
    getting this meesgae when I go to publish.
    I am learning so if anyone one has a laymens answer I thank
    you in advance.
    Hugo

    You might have misnamed an object. For example, if you placed
    a TextField on
    the tiomeline and named it "name", it would conflict with the
    DisplayObject.name property.

  • 1152: A conflict exists with inherited definition in namespace public

    I have an actionscript 3 library item, "BG", that is linked to the class BGClass. BG contains a Sprite that has an instance name, "bg" and likewise BGClass has a public bg property. So the class looks like this:
    public class BGCass extends Base {
         public var bg:Sprite;
         public function BGCass() {
              bg.width = 200
    Everything works fine. But if I wish to move the public bg into the Base class like this I get the error.
    public class BGCass extends Base {
         public function BGCass() {
              bg.width = 200
    public class Base extends Sprite {
         public var bg:Sprite;
         public function Base() {
    I have tried using getter setters in Base and overriding them in BGClass and I still get the error. Is this a bug in Flash? Is there a clean solution or do I need to create some sort of proxy variable to finally get bg to Base? I know that turning off "automatically declare stage instances" in Flash will get rid of the error but I need to keep it on for the designers. Any solutions?
    Thanks.

    The issue is due to the AS3 inheritance.
    Ok here is the thing, AutoDeclareStageInstance is automatically generated at compile time.  this ensures that all clips in the library are added as definitions.
    This is ok if a class is generated for it.  The crappy thing is when you attach your own custom class to the clip.
    When stageinstances decleration is on or off.  the compiler, expects the variables to remain within the attached class.
    Even if your custom class extends another class.  that class can not have the variables declared within.  Again this is because of the AutoDefinitions whether on or off.
    Adobe has tried to make the compilations streamlined so nothing breaks.  but because of this things get iffy.
    so your way around this is 2 things.
    turn off stage instances for them.  and do what your doing.  or do not declare public bg:Sprite in your class, and let the compiler do it.

  • IDOC - add new field in in existing segment definition

    Hi,
    For segement type say Z1MARA1 if we need to add a new field in segement definition say Z2MARA1 SAP is not allowing to add new field if we tried to cancelled the realsed 30E it not allowing since the SAP realease which we are working is 640 so only we can create new segement defination with version Z2MARA1001 with new field added but issues is that the partner Profile for outbound parameters the Segment release in IDOc Type is 31I so if we change this segment release in IDOC type to new version ie., 640 then it will pick all the new segement associated with it due to which the the format in which we pass the segements to third party will change so is there any way to use the existing segment definition which is release 30E & add addition field to it. Only one way I found is that when i try to cancel the released message is trigger so in the debug if I make it success it allows to add new field in existing segment definition but which is wrong way of doing is there any way we can used same segment definition & add new field without adding new version & new released.
    Thanks in advance.
    Rajeev

    Varma,
    I know that we can add new segement with new version my question is existing segement definition can we add a new filed because in partner profile we specified release 31i so even we create new segement type then version will be 640 so it will not pick the latest version.
    Thanks
    Rajeev

  • Add a base permission to an existing role definition in sharepoint using CSOM

    I have to add a base permission to an existing role definition in sharepoint using CSOM Managed API in SP2013, to update base permission of a permission level. I did use below code . But Role definition is not getting updated. What could be the reason? I
    have updated RoleDefinition and Web as well but it did not help.
      RoleDefinition rd = oClientContext.Web.RoleDefinitions.GetByName("My Permission");
                          if (!rd.BasePermissions.Has(PermissionKind.ManagePermissions))
                              rd.RoleTypeKind.ToString();
                              rd.BasePermissions.Set(PermissionKind.ManagePermissions);
                              rd.Update();
    oClientContext.Web.Update();
                              oClientContext.ExecuteQuery();
    Ashish Baranwal To know what you know and what you do not know, that is true knowledge

    Hi Ashish,
    I tested the same scenario per your post in my environment, and I got the same results as you got.                                                                                                                                                                  
    As a workaround, I recommend to delete the permission level and then recreate the permission level with the needed permissions:
    ClientContext ctx=new ClientContext("http://sp");
    RoleDefinition rd=ctx.Web.RoleDefinitions.GetByName("My Permission");
    ctx.Load(rd);
    ctx.ExecuteQuery();
    if(!rd.BasePermissions.Has(PermissionKind.ManagePermissions))
    rd.DeleteObject();
    BasePermissions permissions = new BasePermissions();
    //add the permissions needed
    permissions.Set(PermissionKind.ManagePermissions);
    RoleDefinitionCreationInformation roleDefinitionCreationInfo = new RoleDefinitionCreationInformation();
    roleDefinitionCreationInfo.BasePermissions = permissions;
    roleDefinitionCreationInfo.Name = "My Permission";
    roleDefinitionCreationInfo.Description = "My Custom Permission Level";
    RoleDefinition roleDefinition = context.Web.RoleDefinitions.Add(roleDefinitionCreationInfo);
    context.ExecuteQuery();
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Field 'Contract Period' does not exist in definition for business component

    Hi everyone
    I create a Field "Contract Period" in BC "Quote" with an extended table and put it in the applet view "Quote Full Form Applet" the field works fine in the view, we can update and insert information in it and shows perfect in the database also.
    Our problem is when create a Integration Object for reports in BIP Reports the system said something like this when we try to generate the sample data:
    ObjMgrLog     Error     1     0000002d4cd016bc:0     2010-11-02 13:18:39     (adptutils.cpp (5715)) SBL-EAI-04376: Method 'FieldValue' of business component 'Quote' (integration component 'Quote Template') returned the following error:
    "Field 'Contract Period' does not exist in definition for business component 'Quote'.
    We compiled the BC and the IC, and did the Deployment of the IC in Tools but it didn't work, the thing here is if I remove this field the report works fine. Is there any other component or Object that we have to compile to get Siebel recognition?
    Any ideas?
    Thanks in advance
    Edited by: user7286211 on Nov 2, 2010 8:05 PM

    To do the same change with the transaccion FB02 y FB03, create an enhancemente point in the program: SAPMF05L dynpro: 1301, module: DYNPRO_MODIFIKATION, at the of perform open_fi_dynpro_mod and write:
    LOOP AT SCREEN.
      IF sy-tcode = 'FB02'.
        IF screen-name = 'BSEG-HKTID'.
          screen-input = 1.
          screen-invisible = 0.
          screen-active = 1.
          screen-output = 1.
          screen-group4 = ' '.
          MODIFY SCREEN.
          EXIT.
        ENDIF.
      elseif sy-tcode = 'FB03'.
          IF screen-name = 'BSEG-HKTID'.
          screen-input = 0.
          screen-invisible = 0.
          screen-active = 1.
          screen-output = 1.
          screen-group4 = ' '.
          MODIFY SCREEN.
          EXIT.
        ENDIF.
      endif.
      ENDLOOP.
    and, all ready.

  • Does a variable exist with browser locale of InfoView user?

    Hi experts
    Does a variable exist with the users locale ?
    Thanks
    P

    There's more than one...
    =GetContentLocale()
    =GetLocale()
    =GetPreferredViewingLocale()
    Basically tell you
    the locale of the document,
    the locale of the user,
    and what the user specified which locale to use if these two have a conflict.
    Good luck,
    Marianne

  • The most resent Firefox update has a conflicting application with adobe and all pdf files have to open firefox before opening

    My issue started with downloading the most current Firefox. Firefox opens multiple empty tabs (20 -30 or more) every time I use adobe reader. I changed the action for a content type to show adobe reader. It was showing open the file in adobe in Firefox. I uninstalled and reinstalled Firefox twice and this did not work. I uninstalled Adobe Reader and Air but could not uninstall Adobe Flash Player because of a conflicting Application with Firefox. I then uninstalled Firefox and was able to uninstall Adobe Flash Player. I reinstalled Adobe Reader only and then Firefox. I no longer have multiple empty tabs opening up but each time I open a pdf file, Firefox has to open as well. I am operating on Windows 7 Home edition. Can some one help this is a nuisance.
    Thank you,
    Steve Zalkin

    Try to rename (or delete) the mimeTypes.rdf file in the Firefox profile folder to reset all file actions.
    *http://kb.mozillazine.org/mimeTypes.rdf
    *http://kb.mozillazine.org/File_types_and_download_actions#Resetting_download_actions
    You can check the value of the plugin.disable_full_page_plugin_for_types pref on the about:config page and remove the application/pdf part if present or reset the pref to the default via the right-click context menu if you want to display PDF documents in Firefox with another application (i.e. not the built-in PDF Viewer).
    See also:
    *https://support.mozilla.org/kb/view-pdf-files-firefox-without-downloading-them
    *https://support.mozilla.org/kb/disable-built-pdf-viewer-and-use-another-viewer

Maybe you are looking for