Add new view in 3D annotation

Hello,
     I have been developing a c++ plugin which embed 3D model in PDF.
     I want to add new views with 3D annotation.How i can do this ?
     In 3D annotation property form inside 3D tab i can add views so that they appears in list of view of 3D annotation .How i can do this programatically ?
Thanks,

IIRC, the views are listed in one of the dictionaries off the 3D annotation.  Did you check ISO 32000-1?

Similar Messages

  • How to add new views in Subview dropdown in UWL inbox?

    Hi All,
    I have a requirement to add more views in the "Subview" dropdown in UWL inbox?
    I uploaded the below UWL config file and didn't work.
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE UWLConfiguration PUBLIC '-//SAP//UWL1.0//EN' 'uwl_configuration.dtd'
      >
    <UWLConfiguration version="1.0">
      <ItemTypes>
        <ItemType name="uwl.task.webflow.TS99999999.SAP_R3_HumanResources" connector="WebFlowConnector" defaultView="myExpenseApproval" defaultAction="viewDetail" executionMode="pessimistic"/>
      </ItemTypes>
      <Views>
        <View name="myExpenseApproval" selectionMode="SINGLESELECT" width="98%" supportedItemTypes="uwl.task.webflow.TS999999999" columnOrder="subject, creatorId, createdDate, priority, attachmentCount, completedDate" sortby="createdDate" tableDesign="STANDARD" visibleRowCount="10" headerVisible="yes" queryRange="undefined" tableNavigationFooterVisible="yes" tableNavigationType="CUSTOMNAV" refresh="-1" dueDateSevere="0" dueDateWarning="0" emphasizedItems="new" displayOnlyDefinedAttributes="no" dynamicCreationAllowed="yes" actionPosition="bottom">
          <Descriptions default="Expense Report to Approve">
            <ShortDescriptions>
              <Description Language="en" Description="Expense Report to Approve"/>
            </ShortDescriptions>
          </Descriptions>
          <Actions>
            <Action reference="refresh"/>
            <Action reference="removeFromNavigation"/>
            <Action reference="addToNavigation"/>
            <Action name="launchSAPAction" groupAction="" handler="SAPTransactionLauncher" returnToDetailViewAllowed="yes" launchInNewWindow="no">
              <Descriptions default="launchSAPAction"/>
            </Action>
          </Actions>
        </View>
      </Views>
    </UWLConfiguration>
    Can anyone tell me what's wrong in this xml file?
    Or
    How to resolve this issue?
    Thanks
    Sundar

    Mr. I, GURU:
    I am trying to make my first workbook, and I do not have any options in the Available section. I can open up a SQL session, and view the tables with this same user ID. In Discoverer, I cannot see any items in this list. Does the Administrator have to assign separate user access for Discoverer?
    Thanks in advance.

  • Try to add new View object to an exist AM

    Dears ,
    i'm trying to create new text filed in an exist OAF page and i have create anew vo and add it to the exist AM the below erroe has been appeared
    Message not found. Application: FND, Message Name: FND_VIEWOBJECT_NOT_FOUND. Tokens: VONAME = XxTedExtVONEW1; APPLICATION_MODULE = xxted.oracle.apps.per.extint.server.XxTedExtAM;
    below is the code of XxTedExtAM  and the red is my code for adding the new view object:
    /*     */ package xxted.oracle.apps.per.extint.server;
    /*     */ import java.io.PrintStream;
    /*     */ import oracle.apps.fnd.framework.OAException;
    /*     */ import oracle.apps.fnd.framework.OARow;
    /*     */ import oracle.apps.fnd.framework.OAViewObject;
    /*     */ import oracle.apps.fnd.framework.server.OAApplicationModuleImpl;
    /*     */ import oracle.apps.fnd.framework.server.OADBTransaction;
    /*     */ import oracle.jbo.Row;
    /*     */ import oracle.jbo.domain.Date;
    /*     */ import oracle.jbo.domain.Number;
    /*     */ import oracle.jbo.server.ViewLinkImpl;
    /*     */ public class XxTedExtAMImpl extends OAApplicationModuleImpl
    /*     */   public XxTedAnotherJobVOImpl getXxTedAnotherJobVO1()
    /*  19 */     return (XxTedAnotherJobVOImpl)findViewObject("XxTedAnotherJobVO1");
    /*     */   public XxTedCompenVOImpl getXxTedCompenVO1()
    /*  24 */     return (XxTedCompenVOImpl)findViewObject("XxTedCompenVO1");
    /*     */   public XxTedCultIssueVOImpl getXxTedCultIssueVO1()
    /*  29 */     return (XxTedCultIssueVOImpl)findViewObject("XxTedCultIssueVO1");
    /*     */   public XxTedGuidlinesVOImpl getXxTedGuidlinesVO1()
    /*  34 */     return (XxTedGuidlinesVOImpl)findViewObject("XxTedGuidlinesVO1");
    /*     */   public XxTedJobIssueVOImpl getXxTedJobIssueVO1()
    /*  39 */     return (XxTedJobIssueVOImpl)findViewObject("XxTedJobIssueVO1");
    /*     */   public XxTedLeaveResVOImpl getXxTedLeaveResVO1()
    /*  44 */      return (XxTedLeaveResVOImpl)findViewObject("XxTedLeaveResVO1");
    /*     */   public XxTedRelIssueVOImpl getXxTedRelIssueVO1()
    /*  49 */     return (XxTedRelIssueVOImpl)findViewObject("XxTedRelIssueVO1");
    /*     */   public XxTedTerminologyVOImpl getXxTedTerminologyVO1()
    /*  54 */     return (XxTedTerminologyVOImpl)findViewObject("XxTedTerminologyVO1");
    /*     */   public static void main(String[] args)
    /*  58 */     launchTester("xxted.oracle.apps.per.extint.server", "XxTedExtAMLocal");
    /*     */   public XxTedExitInterviewVOImpl getXxTedExitInterviewVO1()
    /*  64 */     return (XxTedExitInterviewVOImpl)findViewObject("XxTedExitInterviewVO1");
    /*     */   public XxTedExitintDetF1VOImpl getXxTedExitintDetF1VO1()
    /*  69 */     return (XxTedExitintDetF1VOImpl)findViewObject("XxTedExitintDetF1VO1");
    /*     */   public XxTedExitintDetF2VOImpl getXxTedExitintDetF2VO1()
    /*  74 */     return (XxTedExitintDetF2VOImpl)findViewObject("XxTedExitintDetF2VO1");
    /*     */   public XxTedExitintDetF3VOImpl getXxTedExitintDetF3VO1()
    /*  79 */     return (XxTedExitintDetF3VOImpl)findViewObject("XxTedExitintDetF3VO1");
    /*     */   public XxTedExitintDetF4VOImpl getXxTedExitintDetF4VO1()
    /*  84 */     return (XxTedExitintDetF4VOImpl)findViewObject("XxTedExitintDetF4VO1");
    /*     */   public XxTedExitintDetF5VOImpl getXxTedExitintDetF5VO1()
    /*  89 */     return (XxTedExitintDetF5VOImpl)findViewObject("XxTedExitintDetF5VO1");
    /*     */   public XxTedExitintDetF6VOImpl getXxTedExitintDetF6VO1()
    /*  94 */     return (XxTedExitintDetF6VOImpl)findViewObject("XxTedExitintDetF6VO1");
    /*     */   public ViewLinkImpl getXxTedExitintDetF1VL1()
    /*  99 */     return (ViewLinkImpl)findViewLink("XxTedExitintDetF1VL1");
    /*     */   public ViewLinkImpl getXxTedExitintDetF2VL1()
    /* 104 */     return (ViewLinkImpl)findViewLink("XxTedExitintDetF2VL1");
    /*     */   public ViewLinkImpl getXxTedExitintDetF3VL1()
    /* 109 */     return (ViewLinkImpl)findViewLink("XxTedExitintDetF3VL1");
    /*     */   public ViewLinkImpl getXxTedExitintDetF4VL1()
    /* 114 */     return (ViewLinkImpl)findViewLink("XxTedExitintDetF4VL1");
    /*     */   public ViewLinkImpl getXxTedExitintDetF5VL1()
    /* 119 */     return (ViewLinkImpl)findViewLink("XxTedExitintDetF5VL1");
    /*     */   public ViewLinkImpl getXxTedExitintDetF6VL1()
    /* 124 */     return (ViewLinkImpl)findViewLink("XxTedExitintDetF6VL1");
    /*     */   public XxTedReqIdVOImpl getXxTedReqIdVO1()
    /* 129 */     return (XxTedReqIdVOImpl)findViewObject("XxTedReqIdVO1");
    /*     */   public XxTedInterviewerVOImpl getXxTedInterviewerVO1()
    /* 134 */     return (XxTedInterviewerVOImpl)findViewObject("XxTedInterviewerVO1");
    /*     */   public void initRecords()
    /* 138 */     OAViewObject XxTedEmpDataVO = getXxTedEmpDataVO1();
    /* 139 */     Row[] empRow = XxTedEmpDataVO.getAllRowsInRange();
    /* 140 */     XxTedEmpDataVORowImpl empRowImp = (XxTedEmpDataVORowImpl)empRow[0];
    /* 141 */     OAViewObject XxTedReqIdVO = getXxTedReqIdVO1();
    /* 142 */     if (!XxTedReqIdVO.isPreparedForExecution())
    /* 144 */       XxTedReqIdVO.executeQuery();
    /* 146 */     Row[] reqRow = XxTedReqIdVO.getAllRowsInRange();
    /* 147 */     XxTedReqIdVORowImpl reqRowImp = (XxTedReqIdVORowImpl)reqRow[0];
    /* 149 */     OAViewObject XxTedExitInterviewVO = getXxTedExitInterviewVO1();
    /* 150 */     if (!XxTedExitInterviewVO.isPreparedForExecution())
    /* 152 */       XxTedExitInterviewVO.setMaxFetchSize(0);
    /* 153 */       XxTedExitInterviewVO.executeQuery();
    /* 154 */       XxTedExitInterviewVO.setMaxFetchSize(-1);
    /* 156 */     Row row = XxTedExitInterviewVO.createRow();
    /* 157 */     row.setAttribute("RequestId", reqRowImp.getAttribute("Reqid"));
    /* 158 */     row.setAttribute("RequesterId", empRowImp.getAttribute("EmployeeNumber"));
    /* 160 */     XxTedExitInterviewVO.insertRow(row);
    /* 161 */     row.setNewRowState((byte)0);
    /*     */   public void execQueries(String userId)
    /* 166 */     OAViewObject XxTedGuidlinesVO = getXxTedGuidlinesVO1();
    /* 167 */     if (!XxTedGuidlinesVO.isPreparedForExecution())
    /* 169 */       XxTedGuidlinesVO.executeQuery();
    /* 172 */     OAViewObject XxTedEmpDataVO = getXxTedEmpDataVO1();
    /* 173 */     if (!XxTedEmpDataVO.isPreparedForExecution())
    /* 175 */       XxTedEmpDataVO.setNamedWhereClauseParam("p_user_id", userId);
    /* 176 */       XxTedEmpDataVO.executeQuery();
    /* 179 */     OAViewObject XxTedTerminologyVO = getXxTedTerminologyVO1();
    /* 180 */     if (!XxTedTerminologyVO.isPreparedForExecution())
    /* 182 */       XxTedTerminologyVO.executeQuery();
    /* 185 */     OAViewObject XxTedLeaveResVO = getXxTedLeaveResVO1();
    /* 186 */     if (!XxTedLeaveResVO.isPreparedForExecution())
    /* 188 */       XxTedLeaveResVO.executeQuery();
    /////////////////////////////lamiaa///////////////
           /* OAViewObject XxTedExtVONEW = getXxTedExtVONEW();
                if (!XxTedExtVONEW.isPreparedForExecution())
                XxTedExtVONEW.executeQuery();
      /////////////////////////////lamiaa///////////////
    /* 191 */     OAViewObject XxTedCompenVO = getXxTedCompenVO1();
    /* 192 */     if (!XxTedCompenVO.isPreparedForExecution())
    /* 194 */       XxTedCompenVO.executeQuery();
    /* 197 */     OAViewObject XxTedJobIssueVO = getXxTedJobIssueVO1();
    /* 198 */     if (!XxTedJobIssueVO.isPreparedForExecution())
    /* 200 */       XxTedJobIssueVO.executeQuery();
    /* 203 */     OAViewObject XxTedRelIssueVO = getXxTedRelIssueVO1();
    /* 204 */     if (!XxTedRelIssueVO.isPreparedForExecution())
    /* 206 */       XxTedRelIssueVO.executeQuery();
    /* 209 */     OAViewObject XxTedCultIssueVO = getXxTedCultIssueVO1();
    /* 210 */     if (!XxTedCultIssueVO.isPreparedForExecution())
    /* 212 */       XxTedCultIssueVO.executeQuery();
    /* 215 */     OAViewObject XxTedAnotherJobVO = getXxTedAnotherJobVO1();
    /* 216 */     if (!XxTedAnotherJobVO.isPreparedForExecution())
    /* 218 */       XxTedAnotherJobVO.executeQuery();
    /* 220 */     OAViewObject XxTedInterviewerVO = getXxTedInterviewerVO1();
    /* 221 */     if (!XxTedInterviewerVO.isPreparedForExecution())
    /* 223 */       XxTedInterviewerVO.executeQuery();
    /*     */   public void insertData()
    /* 229 */     OAViewObject XxTedExitintDetF1VO = getXxTedExitintDetF1VO1();
    /* 230 */     OAViewObject XxTedExitintDetF2VO = getXxTedExitintDetF2VO1();
    /* 231 */     OAViewObject XxTedExitintDetF3VO = getXxTedExitintDetF3VO1();
    /* 232 */     OAViewObject XxTedExitintDetF4VO = getXxTedExitintDetF4VO1();
    /* 233 */     OAViewObject XxTedExitintDetF5VO = getXxTedExitintDetF5VO1();
    /* 234 */     OAViewObject XxTedExitintDetF6VO = getXxTedExitintDetF6VO1();
    /* 236 */     OAViewObject XxTedLeaveResVO = getXxTedLeaveResVO1();
        /////////////////////////////lamiaa///////////////
                 //OAViewObject XxTedExtVONEW = getXxTedExtVONEW();
        /////////////////////////////lamiaa///////////////
    /* 237 */     OAViewObject XxTedCompenVO = getXxTedCompenVO1();
    /* 238 */     OAViewObject XxTedJobIssueVO = getXxTedJobIssueVO1();
    /* 239 */     OAViewObject XxTedRelIssueVO = getXxTedRelIssueVO1();
    /* 240 */     OAViewObject XxTedCultIssueVO = getXxTedCultIssueVO1();
    /* 241 */     OAViewObject XxTedAnotherJobVO = getXxTedAnotherJobVO1();
    /* 243 */     Row[] rowF1 = XxTedLeaveResVO.getFilteredRows("SelectFlg", "Y");
                /////////////////////////////lamiaa///////////////
                //  Row[] rowF7 = XxTedExtVONEW.getFilteredRows("SelectFlg", "Y");
                /////////////////////////////lamiaa///////////////
    /* 244 */     Row[] rowF2 = XxTedCompenVO.getFilteredRows("SelectFlg", "Y");
    /* 245 */     Row[] rowF3 = XxTedJobIssueVO.getFilteredRows("SelectFlg", "Y");
    /* 246 */     Row[] rowF4 = XxTedRelIssueVO.getFilteredRows("SelectFlg", "Y");
    /* 247 */     Row[] rowF5 = XxTedCultIssueVO.getFilteredRows("SelectFlg", "Y");
    /* 248 */     Row[] rowF6 = XxTedAnotherJobVO.getFilteredRows("SelectFlg", "Y");
    /* 250 */     if (!XxTedExitintDetF1VO.isPreparedForExecution())
    /* 252 */       XxTedExitintDetF1VO.executeQuery();
    /* 254 */     for (int i = 0; i < rowF1.length; i++) {
    /* 255 */       XxTedExitintDetF1VO.last();
    /* 256 */       XxTedExitintDetF1VO.next();
    /* 257 */       Row row1 = XxTedExitintDetF1VO.createRow();
    /* 258 */       row1.setAttribute("SectionNumber", "F.1");
    /* 259 */       row1.setAttribute("SelectedValue", rowF1[i].getAttribute("LookupCode"));
    /* 260 */       XxTedExitintDetF1VO.insertRow(row1);
    /* 261 */       row1.setNewRowState((byte)0);
    /* 264 */     if (!XxTedExitintDetF2VO.isPreparedForExecution())
    /* 266 */       XxTedExitintDetF2VO.executeQuery();
    /* 268 */     for (int i = 0; i < rowF2.length; i++) {
    /* 269 */       XxTedExitintDetF2VO.last();
    /* 270 */       XxTedExitintDetF2VO.next();
    /* 271 */       Row row2 = XxTedExitintDetF2VO.createRow();
    /* 272 */       row2.setAttribute("SectionNumber", "F.2");
    /* 273 */       row2.setAttribute("SelectedValue", rowF2[i].getAttribute("LookupCode"));
    /* 274 */       XxTedExitintDetF2VO.insertRow(row2);
    /* 275 */       row2.setNewRowState((byte)0);
    /* 278 */     if (!XxTedExitintDetF3VO.isPreparedForExecution())
    /* 280 */       XxTedExitintDetF3VO.executeQuery();
    /* 282 */     for (int i = 0; i < rowF3.length; i++) {
    /* 283 */       XxTedExitintDetF3VO.last();
    /* 284 */       XxTedExitintDetF3VO.next();
    /* 285 */       Row row3 = XxTedExitintDetF3VO.createRow();
    /* 286 */       row3.setAttribute("SectionNumber", "F.3");
    /* 287 */       row3.setAttribute("SelectedValue", rowF3[i].getAttribute("LookupCode"));
    /* 288 */       XxTedExitintDetF3VO.insertRow(row3);
    /* 289 */       row3.setNewRowState((byte)0);
    /* 291 */     if (!XxTedExitintDetF4VO.isPreparedForExecution())
    /* 293 */       XxTedExitintDetF4VO.executeQuery();
    /* 295 */     for (int i = 0; i < rowF4.length; i++) {
    /* 296 */       XxTedExitintDetF4VO.last();
    /* 297 */       XxTedExitintDetF4VO.next();
    /* 298 */       Row row4 = XxTedExitintDetF4VO.createRow();
    /* 299 */       row4.setAttribute("SectionNumber", "F.4");
    /* 300 */       row4.setAttribute("SelectedValue", rowF4[i].getAttribute("LookupCode"));
    /* 301 */       XxTedExitintDetF4VO.insertRow(row4);
    /* 302 */       row4.setNewRowState((byte)0);
    /* 304 */     if (!XxTedExitintDetF5VO.isPreparedForExecution())
    /* 306 */       XxTedExitintDetF5VO.executeQuery();
    /* 308 */     for (int i = 0; i < rowF5.length; i++) {
    /* 309 */       XxTedExitintDetF5VO.last();
    /* 310 */       XxTedExitintDetF5VO.next();
    /* 311 */       Row row5 = XxTedExitintDetF5VO.createRow();
    /* 312 */       row5.setAttribute("SectionNumber", "F.5");
    /* 313 */       row5.setAttribute("SelectedValue", rowF5[i].getAttribute("LookupCode"));
    /* 314 */       XxTedExitintDetF5VO.insertRow(row5);
    /* 315 */       row5.setNewRowState((byte)0);
    /* 318 */     if (!XxTedExitintDetF6VO.isPreparedForExecution())
    /* 320 */       XxTedExitintDetF6VO.executeQuery();
    /* 322 */     for (int i = 0; i < rowF6.length; i++) {
    /* 323 */       XxTedExitintDetF6VO.last();
    /* 324 */       XxTedExitintDetF6VO.next();
    /* 325 */       Row row6 = XxTedExitintDetF6VO.createRow();
    /* 326 */       row6.setAttribute("SectionNumber", "F.6");
    /* 327 */       row6.setAttribute("SelectedValue", rowF6[i].getAttribute("LookupCode"));
    /* 328 */       XxTedExitintDetF6VO.insertRow(row6);
    /* 329 */       row6.setNewRowState((byte)0);
    /* 331 */     saveData();
    /*     */   public void saveData()
    /* 336 */     getOADBTransaction().commit();
    /*     */   public XxTedEmpDataVOImpl getXxTedEmpDataVO1()
    /* 342 */     return (XxTedEmpDataVOImpl)findViewObject("XxTedEmpDataVO1");
    /*     */   public void queryReqUsingEmp(String pEmpno) {
    /* 345 */     OAViewObject XxTedExitInterviewVO = getXxTedExitInterviewVO1();
    /* 347 */     XxTedExitInterviewVO.setWhereClause("REJ_FLG <> 1 AND Requester_id = " + pEmpno);
    /* 348 */     XxTedExitInterviewVO.executeQuery();
    /*     */   public void execQueriesGuidlines()
    /* 353 */     OAViewObject XxTedGuidlinesVO = getXxTedGuidlinesVO1();
    /* 354 */     if (!XxTedGuidlinesVO.isPreparedForExecution())
    /* 356 */       XxTedGuidlinesVO.executeQuery();
    /*     */   public void execQueriesEmpData(String param) {
    /* 361 */     OAViewObject XxTedEmpDataVO = getXxTedEmpDataVO1();
    /* 363 */     if (!XxTedEmpDataVO.isPreparedForExecution())
    /* 365 */       XxTedEmpDataVO.setNamedWhereClauseParam("p_user_id", param);
    /* 366 */       XxTedEmpDataVO.executeQuery();
    /* 369 */     Row[] empRow = XxTedEmpDataVO.getAllRowsInRange();
    /* 370 */     XxTedEmpDataVORowImpl empRowImp = (XxTedEmpDataVORowImpl)empRow[0];
    /* 371 */     String empNo = (String)empRowImp.getAttribute("EmployeeNumber");
    /* 373 */     OAViewObject XxTedEmpDataVO2 = getXxTedEmpData2_1();
    /* 374 */     XxTedEmpDataVO2.setNamedWhereClauseParam("p_emp", empNo);
    /* 375 */     XxTedEmpDataVO2.executeQuery();
    /* 377 */     OAViewObject XxReq = getXxTedExitInterviewVO1();
    /* 378 */     XxReq.setWhereClause("Requester_id = " + empNo);
    /* 379 */     if (!XxReq.isPreparedForExecution())
    /* 381 */       XxReq.executeQuery();
    /*     */   public void execQueriesEmpData2(String param)
    /* 387 */     OAViewObject XxTedEmpDataVO2 = getXxTedEmpData2_1();
    /* 388 */     XxTedEmpDataVO2.setNamedWhereClauseParam("p_emp", param);
    /* 390 */     XxTedEmpDataVO2.executeQuery();
    /* 392 */     OAViewObject XxReq = getXxTedExitInterviewVO1();
    /* 394 */     XxReq.setWhereClause("Requester_id = " + param);
    /* 396 */     XxReq.executeQuery();
    /*     */   public void execQueriesTerm()
    /* 401 */     OAViewObject XxTedTerminologyVO = getXxTedTerminologyVO1();
    /* 402 */     if (!XxTedTerminologyVO.isPreparedForExecution())
    /* 404 */       XxTedTerminologyVO.executeQuery();
    /*     */   public void execQueriesLeave(String param) {
    /* 409 */     OAViewObject XxTedLeaveResVO = getXxTedLeaveResVO1();
    /* 410 */     if (!XxTedLeaveResVO.isPreparedForExecution())
    /* 412 */       XxTedLeaveResVO.executeQuery();
        /////////////////////////////lamiaa///////////////
            /* public void execQueriesLeave_reason(String param) {
                 OAViewObject XxTedExtVONEW = getXxTedExtVONEW();
                if (!XxTedExtVONEW.isPreparedForExecution())
                 XxTedExtVONEW.executeQuery();
        /////////////////////////////lamiaa///////////////
    /*     */   public void execQueriesCompen(String param) {
    /* 417 */     OAViewObject XxTedCompenVO = getXxTedCompenVO1();
    /* 418 */     if (!XxTedCompenVO.isPreparedForExecution())
    /* 420 */       XxTedCompenVO.executeQuery();
    /*     */   public void execQueriesJobIssue(String param) {
    /* 425 */     OAViewObject XxTedJobIssueVO = getXxTedJobIssueVO1();
    /* 426 */     if (!XxTedJobIssueVO.isPreparedForExecution())
    /* 428 */       XxTedJobIssueVO.executeQuery();
    /*     */   public void execQueriesRelIssue(String param) {
    /* 433 */     OAViewObject XxTedRelIssueVO = getXxTedRelIssueVO1();
    /* 434 */     if (!XxTedRelIssueVO.isPreparedForExecution())
    /* 436 */       XxTedRelIssueVO.executeQuery();
    /*     */   public void execQueriesCultIssue(String param) {
    /* 441 */     OAViewObject XxTedCultIssueVO = getXxTedCultIssueVO1();
    /* 442 */     if (!XxTedCultIssueVO.isPreparedForExecution())
    /* 444 */       XxTedCultIssueVO.executeQuery();
    /*     */   public void execQueriesAnotherJob(String param) {
    /* 449 */     OAViewObject XxTedAnotherJobVO = getXxTedAnotherJobVO1();
    /* 450 */     if (!XxTedAnotherJobVO.isPreparedForExecution())
    /* 452 */       XxTedAnotherJobVO.executeQuery();
    /*     */   public XxTedEmpData2Impl getXxTedEmpData2_1()
    /* 459 */     return (XxTedEmpData2Impl)findViewObject("XxTedEmpData2_1");
    /*     */   public XxTedF1QVOImpl getXxTedF1QVO1()
    /* 464 */     return (XxTedF1QVOImpl)findViewObject("XxTedF1QVO1");
    /*     */   public XxTedF2QVOImpl getXxTedF2QVO1()
    /* 469 */     return (XxTedF2QVOImpl)findViewObject("XxTedF2QVO1");
    /*     */   public XxTedF3QVOImpl getXxTedF3QVO1()
    /* 474 */     return (XxTedF3QVOImpl)findViewObject("XxTedF3QVO1");
    /*     */   public XxTedF4QVOImpl getXxTedF4QVO1()
    /* 479 */     return (XxTedF4QVOImpl)findViewObject("XxTedF4QVO1");
    /*     */   public XxTedF5QVOImpl getXxTedF5QVO1()
    /* 484 */     return (XxTedF5QVOImpl)findViewObject("XxTedF5QVO1");
    /*     */   public XxTedF6QVOImpl getXxTedF6QVO1()
    /* 489 */     return (XxTedF6QVOImpl)findViewObject("XxTedF6QVO1");
    /*     */   public ViewLinkImpl getXxTedF1QVL1()
    /* 494 */     return (ViewLinkImpl)findViewLink("XxTedF1QVL1");
    /*     */   public ViewLinkImpl getXxTedF2QVL1()
    /* 499 */     return (ViewLinkImpl)findViewLink("XxTedF2QVL1");
    /*     */   public ViewLinkImpl getXxTedF3QVL1()
    /* 504 */     return (ViewLinkImpl)findViewLink("XxTedF3QVL1");
    /*     */   public ViewLinkImpl getXxTedF4QVL1()
    /* 509 */     return (ViewLinkImpl)findViewLink("XxTedF4QVL1");
    /*     */   public ViewLinkImpl getXxTedF5QVL1()
    /* 514 */     return (ViewLinkImpl)findViewLink("XxTedF5QVL1");
    /*     */   public ViewLinkImpl getXxTedF6QVL1()
    /* 519 */     return (ViewLinkImpl)findViewLink("XxTedF6QVL1");
    /*     */   public XxTedReqStatusVOImpl getXxTedReqStatusVO1()
    /* 524 */     return (XxTedReqStatusVOImpl)findViewObject("XxTedReqStatusVO1");
    /*     */   public void execQueriesReqStatus(String param) {
    /* 527 */     OAViewObject XxTedReqStatusVO = getXxTedReqStatusVO1();
    /* 529 */     System.out.println("Param = " + param);
    /* 531 */     XxTedReqStatusVO.setWhereClause("REQUESTER_ID = " + param);
    /* 532 */     XxTedReqStatusVO.executeQuery();
    /*     */   public XxTedWFItemTypeImpl getXxTedWFItemType1()
    /* 538 */     return (XxTedWFItemTypeImpl)findViewObject("XxTedWFItemType1");
    /*     */   public XxTedReqCntVOImpl getXxTedReqCntVO1()
    /* 543 */     return (XxTedReqCntVOImpl)findViewObject("XxTedReqCntVO1");
    /*     */   public void dupCheck() {
    /* 546 */     OAViewObject vo = getXxTedReqCntVO1();
    /* 548 */     OAViewObject XxTedEmpDataVO = getXxTedEmpDataVO1();
    /* 549 */     Row[] empRow = XxTedEmpDataVO.getAllRowsInRange();
    /* 550 */     XxTedEmpDataVORowImpl empRowImp = (XxTedEmpDataVORowImpl)empRow[0];
    /* 552 */     vo.setWhereClause("rej_flg <> 1 and requester_id = " + empRowImp.getEmployeeNumber());
    /* 553 */     vo.executeQuery();
    /* 554 */     Row[] row = vo.getAllRowsInRange();
    /* 555 */     if (row.length != 0)
    /* 556 */       throw new OAException("This employee submitted and exit form before, Kindly contact system admin", (byte)0);
    /*     */   public XxTedCurrReqImpl getXxTedCurrReq1()
    /* 562 */     return (XxTedCurrReqImpl)findViewObject("XxTedCurrReq1");
    /*     */   public ViewLinkImpl getXxTedCurrReqVL1()
    /* 567 */     return (ViewLinkImpl)findViewLink("XxTedCurrReqVL1");
    /*     */   public void execMainPG(String userId) {
    /* 570 */     OAViewObject XxTedEmpDataVO = getXxTedEmpDataVO1();
    /* 571 */     if (!XxTedEmpDataVO.isPreparedForExecution())
    /* 573 */       XxTedEmpDataVO.setNamedWhereClauseParam("p_user_id", userId);
    /* 574 */       XxTedEmpDataVO.executeQuery();
    /* 576 */     Row[] empRow = XxTedEmpDataVO.getAllRowsInRange();
    /* 577 */     XxTedEmpDataVORowImpl empRowImp = (XxTedEmpDataVORowImpl)empRow[0];
    /* 578 */     String empNo = (String)empRowImp.getAttribute("EmployeeNumber");
    /* 580 */     OAViewObject XxTedReqStatusVO = getXxTedReqStatusVO1();
    /* 581 */     XxTedReqStatusVO.setWhereClause("Requester_Id = " + empNo);
    /* 582 */     XxTedReqStatusVO.executeQuery();
    /*     */   public void execLog()
    /* 587 */     OAViewObject Xvo = getXxTedExitInterviewVO1();
    /* 589 */     Row row = Xvo.getCurrentRow();
    /* 590 */     XxTedExitInterviewVORowImpl rowImp = (XxTedExitInterviewVORowImpl)row;
    /* 591 */     Number reqNo = (Number)rowImp.getAttribute("RequestId");
    /* 593 */     OAViewObject XxLog = getXxLoG1();
    /* 594 */     XxLog.setWhereClause("Request_Id = " + reqNo);
    /* 595 */     XxLog.executeQuery();
    /* 596 */     Row row2 = XxLog.getCurrentRow();
    /* 598 */     OAViewObject XxTedReqStatusVO = getXxTedReqStatusVO1();
    /* 599 */     XxTedReqStatusVO.setWhereClause("Request_Id = " + reqNo);
    /* 600 */     XxTedReqStatusVO.executeQuery();
    /*     */   public void validateNulls()
    /* 605 */     OAViewObject XxTedLeaveResVO = getXxTedLeaveResVO1();
    /* 606 */     OAViewObject XxTedCompenVO = getXxTedCompenVO1();
    /* 607 */     OAViewObject XxTedJobIssueVO = getXxTedJobIssueVO1();
    /* 608 */     OAViewObject XxTedRelIssueVO = getXxTedRelIssueVO1();
    /* 609 */     OAViewObject XxTedCultIssueVO = getXxTedCultIssueVO1();
    /* 610 */     OAViewObject XxTedAnotherJobVO = getXxTedAnotherJobVO1();
    /* 612 */     Row[] rowF1 = XxTedLeaveResVO.getFilteredRows("SelectFlg", "Y");
    /* 613 */     Row[] rowF2 = XxTedCompenVO.getFilteredRows("SelectFlg", "Y");
    /* 614 */     Row[] rowF3 = XxTedJobIssueVO.getFilteredRows("SelectFlg", "Y");
    /* 615 */     Row[] rowF4 = XxTedRelIssueVO.getFilteredRows("SelectFlg", "Y");
    /* 616 */     Row[] rowF5 = XxTedCultIssueVO.getFilteredRows("SelectFlg", "Y");
    /* 617 */     Row[] rowF6 = XxTedAnotherJobVO.getFilteredRows("SelectFlg", "Y");
    /* 619 */     int cntF1 = rowF1.length;
    /* 620 */     int cntF2 = rowF2.length;
    /* 621 */     int cntF3 = rowF3.length;
    /* 622 */     int cntF4 = rowF4.length;
    /* 623 */     int cntF5 = rowF5.length;
    /* 624 */     int cntF6 = rowF6.length;
    /* 626 */     if (cntF1 < 1) {
    /* 627 */       throw new OAException("Reason of Leave : Select at least one choice");
    /* 629 */     if (cntF2 < 1) {
    /* 630 */       throw new OAException("Compensation Issues : Select at least one choice");
    /* 632 */     if (cntF3 < 1) {
    /* 633 */       throw new OAException("Job Issues : Select at least one choice");
    /* 635 */     if (cntF4 < 1) {
    /* 636 */       throw new OAException("Relationship Issues : Select at least one choice");
    /* 638 */     if (cntF5 < 1) {
    /* 639 */       throw new OAException("Cultural Issues : Select at least one choice");
    /* 641 */     if (cntF6 < 1) {
    /* 642 */       throw new OAException("Another Job Opportunity : Select at least one choice");
    /* 645 */     OAViewObject validateVo = getXxTedExitInterviewVO1();
    /* 646 */     OARow oaRow = (OARow)validateVo.getCurrentRow();
    /* 648 */     String CompensationComments = (String)oaRow.getAttribute("CompensationComments");
    /* 649 */     if (CompensationComments == null) {
    /* 650 */       throw new OAException("Compensation Issue : Field should be supplied");
    /* 655 */     String LeaveReasonComments = (String)oaRow.getAttribute("LeaveReasonComments");
    /* 656 */     if (LeaveReasonComments == null) {
    /* 657 */       throw new OAException("Reason of leaving : Field should be supplied");
    /* 661 */     String ADSL = (String)oaRow.getAttribute("AdslNumber");
    /* 662 */     if (ADSL == null) {
    /* 663 */       throw new OAException("ADSL Number : Field should be supplied");
    /* 665 */     Date LastDate = (Date)oaRow.getAttribute("LastDate");
    /* 666 */     if (LastDate == null) {
    /* 667 */       throw new OAException("Last Working Day : Field should be supplied");
    /* 670 */     String JobComments = (String)oaRow.getAttribute("JobComments");
    /* 671 */     if (JobComments == null) {
    /* 672 */       throw new OAException("Job Issues : Field should be supplied");
    /* 675 */     String RelationshipComments = (String)oaRow.getAttribute("RelationshipComments");
    /* 676 */     if (RelationshipComments == null) {
    /* 677 */       throw new OAException("Relationship Issues : Field should be supplied");
    /* 679 */     String CulturalComments = (String)oaRow.getAttribute("CulturalComments");
    /* 680 */     if (CulturalComments == null) {
    /* 681 */       throw new OAException("Cultural Issues : Field should be supplied");
    /* 684 */     String OtherJobComments = (String)oaRow.getAttribute("OtherJobComments");
    /* 685 */     if (OtherJobComments == null) {
    /* 686 */       throw new OAException("Another Job Opportunity : Field should be supplied");
    /* 689 */     String OtherInfoComments = (String)oaRow.getAttribute("OtherInfoComments");
    /* 690 */     if (OtherInfoComments == null) {
    /* 691 */       throw new OAException("Other Info : Field should be supplied");
    /* 694 */     String TrainingComments = (String)oaRow.getAttribute("TrainingComments");
    /* 695 */     if (TrainingComments == null) {
    /* 696 */       throw new OAException("Training&Development : Field should be supplied");
    /* 699 */     String PositiveWorkComments = (String)oaRow.getAttribute("PositiveWorkComments");
    /* 700 */     if (PositiveWorkComments == null) {
    /* 701 */       throw new OAException("Positive Work Comments : Fields should be supplied");
    /* 704 */     String PositiveBestComments = (String)oaRow.getAttribute("PositiveBestComments");
    /* 705 */     if (PositiveBestComments == null) {
    /* 706 */       throw new OAException("Positive Work Comments : Fields should be supplied");
    /* 709 */     String ChangeComments = (String)oaRow.getAttribute("ChangeComments");
    /* 710 */     if (ChangeComments == null) {
    /* 711 */       throw new OAException("Change : Field should be supplied");
    /* 713 */     String ReemploymentComments = (String)oaRow.getAttribute("ReemploymentComments");
    /* 714 */     if (ReemploymentComments == null) {
    /* 715 */       throw new OAException("Re-employment : Field should be supplied");
    /* 718 */     Number CompensationIssuesSts = (Number)oaRow.getAttribute("CompensationIssuesSts");
    /* 719 */     if (CompensationIssuesSts == null) {
    /* 720 */       throw new OAException("Compensation Satisfaction : Value should be selected");
    /* 723 */     Number JobIssuesSts = (Number)oaRow.getAttribute("JobIssuesSts");
    /* 724 */     if (JobIssuesSts == null) {
    /* 725 */       throw new OAException("Job Issues Satisfaction : Value should be selected");
    /* 728 */     Number RelationshipIssuesSts = (Number)oaRow.getAttribute("RelationshipIssuesSts");
    /* 729 */     if (RelationshipIssuesSts == null) {
    /* 730 */       throw new OAException("Relationship Issues Satisfaction : Value should be selected");
    /* 732 */     Number CulturalIssuesSts = (Number)oaRow.getAttribute("CulturalIssuesSts");
    /* 733 */     if (CulturalIssuesSts == null) {
    /* 734 */       throw new OAException("Cultural Issues Satisfaction : Value should be selected");
    /* 736 */     Number OtherJobSts = (Number)oaRow.getAttribute("OtherJobSts");
    /* 737 */     if (OtherJobSts == null) {
    /* 738 */       throw new OAException("Another Job Satisfaction : Value should be selected");
    /* 741 */     Number OtherInfoSts = (Number)oaRow.getAttribute("OtherInfoSts");
    /* 742 */     if (OtherInfoSts == null) {
    /* 743 */       throw new OAException("Other Info Satisfaction : Value should be selected");
    /* 746 */     Number TrainingSts = (Number)oaRow.getAttribute("TrainingSts");
    /* 747 */     if (TrainingSts == null) {
    /* 748 */       throw new OAException("Training Satisfaction : Value should be selected");
    /* 751 */     Number PositiveWorkSts = (Number)oaRow.getAttribute("PositiveWorkSts");
    /* 752 */     if (PositiveWorkSts == null)
    /* 753 */       throw new OAException("Positive Work Satisfaction : Value should be selected");
    /*     */   public void execWfRn(String reqId)
    /* 758 */     OAViewObject XxTedReqStatusVO = getXxTedReqStatusVO1();
    /* 759 */     XxTedReqStatusVO.setWhereClause("rej_flg <> 1 and RequestId = " + reqId);
    /* 760 */     XxTedReqStatusVO.executeQuery();
    /*     */   public void validateBlob(String vblob)
    /* 765 */     if (vblob == null)
    /* 766 */       throw new OAException("You should upload the attached resignation");
    /*     */   public void validateHrForm()
    /* 771 */     OAViewObject validateVo = getXxTedExitInterviewVO1();
    /* 772 */     OARow oaRow = (OARow)validateVo.getCurrentRow();
    /* 773 */     Date IntDate = (Date)oaRow.getAttribute("InterviewDate");
    /* 774 */     if (IntDate == null) {
    /* 775 */       throw new OAException("You should enter an interview date");
    /* 778 */     String Intterviewer = (String)oaRow.getAttribute("InterviewerName");
    /* 779 */     if (Intterviewer == null)
    /* 780 */       throw new OAException("You should enter the interview data");
    /*     */   public void clearForm()
    /* 785 */     OAViewObject mainVo = getXxTedExitInterviewVO1();
    /* 786 */     OAViewObject XxTedLeaveResVO = getXxTedLeaveResVO1();
    /* 787 */     XxTedLeaveResVO.clearCache();
    /* 788 */     XxTedLeaveResVO.executeQuery();
    /* 789 */     OAViewObject XxTedCompenVO = getXxTedCompenVO1();
    /* 790 */     XxTedCompenVO.clearCache();
    /* 791 */     XxTedCompenVO.executeQuery();
    /* 793 */     OAViewObject XxTedJobIssueVO = getXxTedJobIssueVO1();
    /* 794 */     XxTedJobIssueVO.clearCache();
    /* 795 */     XxTedJobIssueVO.executeQuery();
    /* 797 */     OAViewObject XxTedRelIssueVO = getXxTedRelIssueVO1();
    /* 798 */     XxTedRelIssueVO.clearCache();
    /* 799 */     XxTedRelIssueVO.executeQuery();
    /* 801 */     OAViewObject XxTedCultIssueVO = getXxTedCultIssueVO1();
    /* 802 */     XxTedCultIssueVO.clearCache();
    /* 803 */     XxTedCultIssueVO.executeQuery();
    /* 805 */     OAViewObject XxTedAnotherJobVO = getXxTedAnotherJobVO1();
    /* 806 */     XxTedAnotherJobVO.clearCache();
    /* 807 */     XxTedAnotherJobVO.executeQuery();
    /* 809 */     mainVo.removeCurrentRow();
    /*     */   public XxIntrvLOVVOImpl getXxIntrvLOVVO1()
    /* 815 */     return (XxIntrvLOVVOImpl)findViewObject("XxIntrvLOVVO1");
    /*     */   public XxLoGImpl getXxLoG1()
    /* 820 */     return (XxLoGImpl)findViewObject("XxLoG1");
    /////////////////////////////lamiaa///////////////
                 public XxTedExtVONEWImpl getXxTedExtVONEW1()
                    return (XxTedExtVONEWImpl)findViewObject("XxTedExtVONEW1");
      /////////////////////////////lamiaa///////////////
    /* Location:           D:\Oracle_developer\p8431482_R12_GENERIC_QF\jdevhome\jdev\myclasses\
    * Qualified Name:     xxted.oracle.apps.per.extint.server.XxTedExtAMImpl
    * JD-Core Version:    0.6.2

    The error message means you have not added the View Object to AM.
    You need to add the View Object to the AM and move the AM files to the server and bounce the server.
    Cheers
    AJ

  • Add new view set to navigational bar

    i have a new viewset with views( this is working fine i tested it alone
    how can i add this to a link in navigational bar?

    Hi,
    You can follow the below steps,
    1. In the runtime repository add your window to the component Interface, add inbound and outbound plugs as well
    2. Go to SPRO->CRM>UI Framework->Technical Role Def->Define Work Area Component Repository, create new entry and add your component.
    3. Go to Nav bar profile and create logical link, create work center link group and add your logical link.
    4. Use some existing work center and assign the work center link group created to this work center
    5. Go to Define Business Role and choose your business role and enable that work center link.
    Regards,
    Shobhit

  • Adding New View Objects/Link on "Preview and Print" - Order Acknowledgement

    Hi,
    Can we add New View Objects/View Links for the existing "Preview and Print" Order Acknowledgement.
    I want to add for the 2 new functionalities i.e., for Charges (from OE_PRICE_ADJUSTMENTS_V ) and the Line Level Notes, which is currently not supported by Oracle.
    Can anyone help me on acheving this functionality?
    Looking forward for your response.
    Thanks in advance,
    Regards,
    Muru

    You can do that. You should first create the new business objects(AM, VO, VL) in jdeveloper, create your new regions in jdeveloper, associate the AM to the top level region(stackLayout) you create. Use personalization and add a stack layout in the Preview and Print page, set the extends property to point to the new region which you had created. Donot forget to deploy all the files in middle tier before doing the personalization.
    The AM which you had added to the stackLayout will automatically be nested with the root AM of the page during runtime.

  • New views in xisting components??

    Hello all,
    I wanted to know whether we can add new views to existing components like "ICCMP_BP_SEARCH".
    I have enhanced this component using an enhancement set. Now when i try to add new view to this, it is now getting listed in the "Views" list. Any inputs whether it is possible to create new views in enhanced components, if yes how can we achieve this.
    Regards,
    chandan

    if you see the new view in the view list, you have answer to your question "is it possible to create new views ?"
    you can add everything you want in an enhanced component (views, custom controllers, context nodes, ...)
    you should read ramp-up documents in order to learn how to use BSPWD_CMP_WB, it is a bit too long to do it here 

  • How to add a new view in Factsheet to collect data from R3

    Hi Experts,
    I need to add a new view in Account Factsheet called  'Open Delivery data'
    which will collect the delivery data from R3 system.
    As I know we have two Function Modules (at CRM) 'CRMT_ERP_FACT_SHEET_RETRIEVE'
    (at R3) 'CRM_CCKPT_EXPORTSUMMARY'
    All We need to do is create view which calls the data from R3 Via these modules.
    How should I proceed.
    Is this relevent steps :-
    http://wiki.sdn.sap.com/wiki/display/CRM/Howtodisplayaz-tableinanassignmentblock
    Regards,
    Ram

    Hi Sandeep,
    To add a new currency in Metadata, just add in Currencies dimension, and to add in Data form-just send the script what you are using as of now for rest of the currencies, or follow the same steps as specified above. or just add the script A#CLORATE.w#Periodic.C2#XYZ in rows of your data form (where XYZ- is the new currency).
    To add a new location in FDM login to FDM web client- click on Metadata--> locations and select the Controls review location where you want to add the data load location, right click and add the new location.

  • MM50 : add new column in the material view

    Dear guru.
    I need to add a new column of material master in the material view of MM50.
    Do you have a solution (exit) in order to solve my problem ?
    Thanks.

    > I need to add a new field in the MM50 transaction not in MM02.
    Der Friend,
    Pls be specific about your query. As you know MM50 is for material view extension which is a std SAP trxn to help extend the views set by standard SAP pack and if you are referring new field as a new view then it is not so easily approachable.
    Shiva

  • Change value of a control in a list item new or edit form depending on the page level view Add New Item being clicked.

    I have a list which has a underlying infopath form for insert and edit a record.
    The list has various views spread across different pages .
    Now depending on different pages "New Item", a value for the form will have a corresponding value.
    If there is a single line of text control in the list, and depending ona page name, the value for the single line text should be autofilled when Add new item is clicked.
    How do i achieve that?
    Thanks...

    Hi,
    According to your description, there are several list views in your list, there is a textbox control which holds the “Single Line of Text” type of data in your custom
    form. When users click the “Add new item” button in one of the existing list views, you want the textbox control in the custom form to be populated automatically.
    By default, when user clicks the “Add new item” button in a list view, the URL of the custom form page will contain the name of that list view page, thus, a workaround
    which requires custom code can be like this:
    After the form page loaded, we can extract the name of the list view page from the URL, then populate it into the textbox control immediately. This can be achieved
    using jQuery.
    About how to
    get URL parameters of current page using jQuery:
    http://www.jquerybyexample.net/2012/06/get-url-parameters-using-jquery.html
    About
    adding jQuery into InfoPath form:
    http://riteshudupak.blogspot.com/2010/09/add-jquery-to-browser-enabled-infopath.html
    Best regards,
    Patrick
    Patrick Liang
    TechNet Community Support

  • Need to add a new View With ITS Link in it

    Hello All ,
      I am Working on SAP CRM 7.0 in Marketing here in marketing We do have an Account Work Center here in account we have three views Search , Create and Report .I want to add a new view with name "XYZ" in this view i want have Logical links . This logical link is ITS (Transaction Launcher ). Can any one Tell me the Procedure for this . Thanks in Advance
    regards,
    KiranPosanapalli

    Solved by myself

  • Add new code in classification view under material master

    Hi Experts!
    I need to add new code in classification view, MM03 for class ZZLOCAL. Can anyone guide me to the path?
    Please help..
    Thanks.

    this is not customizing, this is standard master data maintenance.
    Easiest way to find the menu path is by entering search_sap_menu into the command field.
    then you are prompted for search text. here you can either enter a transaction code or a name of transaction.
    SAP will give a list with all menues and paths to reach this transaction

  • Recent convert to Apple. Previously, I backed up my family pictures from PC to an external hard drive,  a WD MyBook 3T. I can view the pics on my Macbook Pro, but I can't add new pictures. I'm sure this is a format issue, any easy way to correct it?

    Recent convert to Apple. Previously, I backed up my family pictures from PC to an external hard drive,  a WD MyBook 3T. I can view the pics on my Macbook Pro, but I can't add new pictures. I'm sure this is a format issue, any easy way to correct it?

    Install NTFS 3G
    http://macntfs-3g.blogspot.com/
    If you were going to be reading and writing to a NTFS System Partition, you might have to worry about the instability messing up the operating system.  However, you are reading/writing from a non system, backup device so you don't have to worry about screwing up an operating system.
    I would still temporarily move my data to another device and reformat the drive for Mac OS X Extended.

  • Edit Add New Item link in certain view of list in SharePoint Programmtically

    this is my requirements
    i have one list called List 1 and two content types on it
    CT 1 and
    CT 2 and create two views on the list
    View 1 to display items of CT 1 
    View 2 to display items of CT 2 
    the creation of list and views is done via XML 
    now i need to change the URL of add new item link in every view to open its content type, i.e. when i was on view 1 i click on add new item, it will open new item form of CT 1 and hen i was on view 2 and click on add new item, it will open new item form
    of CT 2 
    i do a lot of search on the internet but get the following code but it doesn't work for me, i already wrote it in event receiver
    SPSecurity.RunWithElevatedPrivileges(delegate()
    SPWeb web = properties.Feature.Parent as SPWeb;
    web.AllowUnsafeUpdates = true;
    SPList contractList = web.Lists.TryGetList("Contract");
    SPLimitedWebPartManager webpartManager = web.GetLimitedWebPartManager("Lists/ContractList/SICET%202A%20Contract.aspx", PersonalizationScope.Shared);
    foreach (System.Web.UI.WebControls.WebParts.WebPart item in webpartManager.WebParts)
    if (item.GetType().Name == "XsltListViewWebPart")
    XsltListViewWebPart listViewWebPart = (XsltListViewWebPart)item;
    Guid guid = new Guid(listViewWebPart.ViewGuid); // get the view details which is applied to web part
    SPView sicet2AView = contractList.Views[guid];
    sicet2AView.GetType().InvokeMember("EnsureFullBlownXmlDocument",
    System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.InvokeMethod,
    null,sicet2AView,null);
    PropertyInfo nodeProp = sicet2AView.GetType().GetProperty("Node", BindingFlags.NonPublic | BindingFlags.Instance);
    XmlNode node = nodeProp.GetValue(sicet2AView, null) as XmlNode;
    XmlNode toolbarNode = node.SelectSingleNode("Toolbar");
    //sicet2AView.ViewFields.DeleteAll();
    if (toolbarNode != null)
    string toolbarType = toolbarNode.Attributes["Type"].Value;
    string linkText = "abdeen";
    toolbarNode.Attributes["Type"].Value = "Freeform";
    XmlAttribute positionNode = toolbarNode.OwnerDocument.CreateAttribute("Position");
    positionNode.Value = "After";
    toolbarNode.Attributes.Append(positionNode);
    //toolbarNode.InnerXml = @"<IfHasRights><RightsChoices><RightsGroup PermAddListItems=""required"" /></RightsChoices><Then><HTML><![CDATA[ <table width=100% cellpadding=0 cellspacing=0 border=0 > <tr> <td colspan=""2"" class=""ms-partline""><IMG src=""/_layouts/images/blank.gif"" width=1 height=1 alt=""""></td> </tr> <tr> <td class=""ms-addnew"" style=""padding-bottom: 3px""> <img src=""/_layouts/images/rect.gif"" alt="""">&nbsp;<a class=""ms-addnew"" ID=""idAddNewItem"" href=""www.facebook.com""]]></HTML><URL Cmd=""New"" /><HTML><![CDATA["" ONCLICK=""javascript:NewItem(']]></HTML><URL Cmd=""New"" /><HTML><![CDATA[', true);javascript:return false;"" target=""_self"">]]></HTML><HTML>" + linkText + @"</HTML><HTML><![CDATA[</a> </td> </tr> <tr><td><IMG src=""/_layouts/images/blank.gif"" width=1 height=5 alt=""""></td></tr> </table>]]></HTML></Then></IfHasRights>";
    toolbarNode.InnerXml = @"<IfHasRights><RightsChoices><RightsGroup PermAddListItems=""required"" /></RightsChoices><Then><HTML><a class=""ms-addnew"" ID=""idAddNewItem"" href=""www.facebook.com"">Test</a></HTML></Then></IfHasRights>";
    sicet2AView.Update();
    //listViewWebPart.ViewGuid = sicet2AView.ID.ToString("B").ToUpper();
    //listViewWebPart.Visible = true;
    webpartManager.SaveChanges(listViewWebPart);
    web.Update();
    but it doesn't work, my first trail is changing the text of the link then go to change the link any help plz
    Mohamed Abdeen

    Hi,
    The “Add new item” button will redirect users to add new item with the default Content Type of the current list.
    So a workaround can be like this: We can change the default Content Type of this list every time when users open this list view page, then the “Add new item” button will work
    as you expected.
    Here is a link with code demo about how to programmatically set a content type as default content type in a SharePoint 2013 List:
    http://www.ashokraja.me/tips/How-to-programmatically-set-a-content-type-as-default-content-type-in-a-SharePoint-2013-List
    We can put the code into a Visual Web Part and add it into your two views, then when users open a list view page, the code will be executed to change the default Content Type
    of the current list.
    To develop a custom web part, you can take a look at the links below with steps in detail for a start:
    Creating Web Parts for SharePoint
    http://msdn.microsoft.com/en-us/library/ee231579.aspx
    SharePoint 2013 Create a Visual Web Part
    http://raquelalineblog.wordpress.com/2013/04/25/sharepoint-2013-create-a-visual-web-part/
    Thanks
    Patrick Liang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Patrick Liang
    TechNet Community Support

  • How to add new columns in materialized view

    We are using Oracle 10g Release2.
    We need to add new columns to a prebuilt fast refresh materialized view. We want to add 4 new columns in this table and make them part of select statement in the materialized view. We can drop the view but we cannot do complete refresh after that because the paymentsInfo table has a creation_timestamp column which is populated by before row insert trigger with systimestamp. If we did the complete refresh, all values in this column shall be changed.
    CREATE MATERIALIZED VIEW  paymentsInfo
    ON PREBUILT TABLE
    REFRESH FAST
      ON DEMAND
      START WITH SYSDATE
      NEXT SYSDATE+5/1440
      WITH PRIMARY KEY
    DISABLE QUERY REWRITE AS
    SELECT PAYMENT_ID,BATCH_REFERENCE, TRANSACTION_REFERENCE, NO_OF_TRANSACTIONS, DEBIT_ACC_NUM,... from payment@dblink
    I want to know is there any other way to add new columns without losing any changes from the master table.
    Thanks.

    There is no way to add new Columns to Materialized view. To add new columns, it has to be dropped and re-built again.
    Extract from Oracle Documentaion:
    Use the ALTER MATERIALIZED VIEW statement to modify an existing materialized view in one or more of the following ways:
      To change its storage characteristics
      To change its refresh method, mode, or time
      To alter its structure so that it is a different type of materialized view
      To enable or disable query rewrite
    If you have a problem of Complete refresh, then It may be beneficial to get the backup of the MView; Drop and re-create it with modified definition; Restore the backup data leaving the new columns untouched (assuming they are to be kept as fetched from the Master site).

  • Add new menu item like File, View... to photoshop

    Hi,
    I want to add new custom menu in photoshop menu bar, like FIle view etc....
    And also need a popup menu which will open on clicking of this menu.
    Please tell me how to acheive this........

    Thanks for your reply Chris. Do you suggest any alternative to implement a file checkout/checkin
    inside photoshop?
    Any way to display these options inside it?
    Thanks,
    David

Maybe you are looking for

  • How to set up Split Tunneling on ASA 5505

    Good Morning, I have an ASA 5505 with security plus licensing.  I need to set up split tunneling on the ASA and not sure how.  I am very new to Cisco but am learning quickly.   What I want to accomplish, if possible is to send all traffic to our corp

  • Iphone 5 not getting text from new numbers?

    im on ios 7.0.4. Recently, ive been having the problem of not getting messages from new numbers. I receive all texts and calls from all current phone numbers ive ever had contact with. But for the past month, any new numbers that text me first, i do

  • Does this help your "user did not respond" problem?

    Here’s what was going on. If I call a buddy #1 > I get the “user did not respond”. If I call buddy #2 > I get “user did not respond”. However, If I call buddy #3 it works right away, no problems what so ever. This was a constant problem, the same res

  • JStart.exe not started on CE7.2- Node 'bootstrap' failed with exit code 503

    Hi,     I installed on SAP Composition Environment 7.2 on Windows7 32bit . So, once i start the CE1 server from sapmmc the jstart.exe status is 'stopped'. How can i solve this issue that make me can Thanks for any comments. sysno      00 sid        C

  • Prestage Package status not reflecting on the console

    Hello, I have extracted some prestage packages successfully on the new DP but for some reasons, it doesn't reflect the status on the primary server. After troubleshooting, I found this article which describes my issue similarly. http://eskonr.com/tag