Unable to get workflow id in ecma script

I am using the following ecma script in a OR split
function check() {
   log.info("##########IN CHECK FUNCTION###########");
   var path=workItem.getWorkflow().getId() + "/metaData"
   var node=workflowSession.getSession().getItem(path);
   if (node.hasProperty("multipleapprovers")){
             if(node.getProperty("multipleapprovers").getString() == "NOMOREREVIEWERS"){
                 return true;
             }else{
                 return false;
but i am seeing the following error in logs, I assumed workItem reference was provided to ECMA scripts
Caused by: org.mozilla.javascript.EcmaError: ReferenceError: "workItem" is not defined. (/etc/workflow/scripts/script2.ecma#5)
          at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3350)
          at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3340)
          at org.mozilla.javascript.ScriptRuntime.notFoundError(ScriptRuntime.java:3413)
          at org.mozilla.javascript.ScriptRuntime.name(ScriptRuntime.java:1612)
          at org.mozilla.javascript.gen.c14._c1(/etc/workflow/scripts/script2.ecma:5)
          at org.mozilla.javascript.gen.c14.call(/etc/workflow/scripts/script2.ecma)
          at org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:97)
          at org.mozilla.javascript.gen.c14._c0(/etc/workflow/scripts/script2.ecma:20)
          at org.mozilla.javascript.gen.c14.call(/etc/workflow/scripts/script2.ecma)
          at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:393)
          at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2834)
          at org.mozilla.javascript.gen.c14.call(/etc/workflow/scripts/script2.ecma)
          at org.mozilla.javascript.gen.c14.exec(/etc/workflow/scripts/script2.ecma)
          at org.mozilla.javascript.Context.evaluateReader(Context.java:1227)
          at org.apache.sling.scripting.javascript.internal.RhinoJavaScriptEngine.eval(RhinoJavaScript Engine.java:114)
          at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:358)
Any suggestions/pointers are appreciated
Environment
CQ 5.5, windows

Try
var url = oList.get_defaultViewUrl()
Geetanjali Arora | My blogs |

Similar Messages

  • TS3048 Side movement of the mouse enlarges the screen and unable to get back to the regular script.

    Wirless mouse movement to side enlarges the screen document,, must turn off program to get back to regular size.

    It's Smart Zoom. In your System Preferences (the icon in the dock that looks like gears) click on "Mouse". It's the third check box down. If you select it, a video will play showing how it works then you can either leave it active or uncheck the box to turn it off.

  • How to add a file in Document Set using ECMA script?

    Hi,
    I want to upload a particular file into Document set using ECMA script.
    I can do it easily through C# but unable to achieve the same using ECMA Script.
    Any pointers or piece of code will be helpful.
    Thanx in advance :)
    "The Only Way To Get Smarter Is By Playing A Smarter Opponent"

    The following blog post provides a way to create a document set using ECMA:
    http://blogs.msdn.com/b/mittals/archive/2013/04/03/how-to-create-a-document-set-in-sharepoint-2013-using-javascript-client-side-object-model-jsom.aspx
    The following blog post provides a way to upload files into a document set using CSOM:
    http://www.c-sharpcorner.com/Blogs/12139/how-to-create-document-set-using-csom-in-sharepoint-2013.aspx
    See if you can follow the logic in the CSOM example to apply it to ECMA. Let me know if you have specific problems with it.
    Dimitri Ayrapetov (MCSE: SharePoint)

  • ECMA script for checking active workflows for an list item

    Hi i am having more than 1 workflow associated with the list if there is any workflow that is active for an item then i need to prevent starting another workflow for the same item. I am using the following code to achieve the same. Can anyone please provide
    me the ECMA object model equivalent for achieving the same.
        //Check for any active workflows for the document
            private void CheckForActiveWorkflows()
                // Parameters 'List' and 'ID' will be null for site workflows.
                if (!String.IsNullOrEmpty(Request.Params["List"]) && !String.IsNullOrEmpty(Request.Params["ID"]))
                    this.workflowList = this.Web.Lists[new Guid(Request.Params["List"])];
                    this.workflowListItem = this.workflowList.GetItemById(Convert.ToInt32(Request.Params["ID"]));
                SPWorkflowManager manager = this.Site.WorkflowManager;
                SPWorkflowCollection workflowCollection = manager.GetItemActiveWorkflows(this.workflowListItem);
                if (workflowCollection.Count > 0)
                    SPUtility.TransferToErrorPage("An workflow is already running for the document. Kindly complete it before starting a new workflow");
            }

    Hi,
    According to your post, my understanding is that you wanted to use ECMA script to check active workflows for an list item.
    You can use the Workflow web service "/_vti_bin/workflow.asmx"
    - GetWorkflowDataForItem operation in particular.
    Here is a great blog for you to take a look at:
    http://jamestsai.net/Blog/post/Using-JavaScript-to-check-SharePoint-list-item-workflow-status-via-Web-Service.aspx
    In addition, you can use
    SPServices. For more information, please refer to:
    http://sharepoint.stackexchange.com/questions/72962/is-there-a-way-to-check-if-a-workflow-is-completed-using-javascript
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • UCCX 10.X Unable to get Queue Stats to write from a script to an HTML file

    We upgraded from CCX 7.X to CCX 10.5. After the upgrade I am unable to get a Queue stats web page working. I have changed the 'create doc' step to 'set doc' but I cant seem to get it to work. I have uploaded the SYDNEY.html file to the document repository. I have attached the script and web page.
    Any info is appreciated
    Thanks!

    Thanks for the response. There was a unrelated problem with the server and I restarted the engine and it is working now.
    The script works and can be used as a sample.
    The only change I made was I updated the HTML file with the following line so that when the page refreshes it points to the correct URL.
    <meta http-equiv="Refresh" content="5;url=http://10.20.8.51:9080/SYDNEY"/>
    Thanks!
    Craig

  • Sony DCR-DVD505 Handycam: Unable to get video clips, audio

    Evaluating Adobe Premier.  Hopefully helpful for other Sony DCR-DVD505 users.
    Objectives:
    1) Get videos from Sony DCR-DVD505 handycam into Premier Elements
    2) Drag and drop various clips into Sceneline
    3) Insert menu markers
    4) Burn DVD
    Stuck in Step 1, getting video from handycam, unable to get video clips (with audio)
    First Try: NO AUDIO.
    The Sony DCR-DVD505 burns a mini-DVD (1.4 GB) while recording.  After "finalizing" the disk, the media may be imported into the computer.  Streaming was supported by Windows XP driver but is no longer supported in Windows Vista.   In fact, Vista Service Pack 2 (SP2) does not even recognize the camera as a DVD drive!  So downgraded to Vista SP1 and used the Sony Picture Motion Browser to import media into computer as MPG files.  Each MPG file is a clip (corresponding exactly to camera record on-off sequence while shooting).  Then opened up Adobe Premier Elements 8.  Used get media to import all the MPG clips into "Organize".  Dragged and dropped various clips...inserted a menu or two and...burned the DVD.  PROBLEM: VIDEO OK, BUT NO AUDIO(?!).  The MPG files on computer play fine (with audio) inside Windows Media Players.  Read all sorts of nonsense about why Adobe Premier (probably old versions) cannot work with "low-quality/compressed" MPG and needs to be a particular type AVI soo....
    Second Try: Capture VOB directly
    Forget the camera.  Insert the mini-DVD directly into computer DVD drive, create a new project and followed directions from  "Lowdown on VOB" http://forums.adobe.com/message/2117743 and "tools to convert to DVI" http://forums.adobe.com/thread/415317.  I loaded the VOB directly and dropped them into  Timeline as advised by the second post (only hitch being the first VOB pertaining to the DVD menu is not recognized and is neither needed).
    However, File > Export is always GREYED out (unusable).  And the status at bottom right seems to be looping on "Background Rendering".  DO I WAIT?  In any case, the whole video is showing up as a single continuous stream and what I want are the clips from the camera?! 
    Then I tried Prism (again as per the second forum post mentioned above).  It simply did something to process 30 minutes of video and crashed in the end without explanation - saying there was an error in conversion.
    Is this AVI conversion even a good idea?  How would I get my clips back??
    Bottomline.  My mini-DVD and imported MPGs plays fine in Windows Media Player.  However unable to extract the camera clips (with audio).

    Dawg, I have the Sony DCR-DVD305, and have been using it successfully for quite a while with PE7, with few issues, once I had a workflow nailed down.
    I believe the 505 is basically the same camera, with some additional features.
    This workflow worked for me in the past so I'll pass that along:
    Sony Browser to PC as Mpeg.
    Mpeg to Windows Movie Maker, output to DV-AVI, taking default settings.
    DV-AVI imported into PE7.
    This should also work for PE8.
    Upon getting Cyberlinks PowerDirector v7, my new workflow changed to this:
    I take the min-DVD directly from camcorder to my PC, and capture the disk via Power Director.
    PD will convert the VOB's directly to DV-AVI Type 2 on one pass.
    I then load this DV-AVI into PE7.
    (PD v7 was pre-installed on my new PC from HP, or it can be purchased from Cyberlink).
    Other options to try:
    Copy the VOB's directly from the mini-DVD to your PC and use Prism to convert these to AVI.
    Or load the VOB or Mpeg into PE, then use that to convert to AVI.
    (Export to DV-AVI with PE8 is done with SHARE/PC, not Export under the File Menu, which is greyed out).
    I've had many issues trying to work with Mpeg's and VOB's when loaded directly to PE with limited success.
    So if you can get it converted successfully to AVI outside of PE, I've found this to be a better approach.
    Post results, if any of this works for you...
    Note: One other thing, if you are working directly with VOB's to PE, especially multiple VOB's from a single DVD, you can encounter out-of-sync issues between video and audio. If this occurs, review this link from Muvipix:
    http://muvipix.com/phpBB3/viewtopic.php?f=38&t=2469:

  • SCRIPT5007: Unable to get property 'top' of undefined or null and too much recursion

    I am not sure about placing two questions into one post, but here it goes:
    The error above  "SCRIPT5007: Unable to get property 'top' of undefined or null" is coming from this function:
    Code: 
    $(function () { //this is the way to run your code at the DOM Ready event  $('a').click(function () { $('html, body').animate({ scrollTop: $($(this).attr('href')).offset().top }, 1500); return false; });  });
    This is the effected code I believe that is causing the problem:
    Code: 
    scrollTop: $($(this).attr('href')).offset().top
    the error occurs when I click on a "clear" button in my form. My website is one long page and that function allows my navigation to slide up and down the site. Without it, everytime you click a nav, it jumps to that anchor.
    For the 2nd problem, the too much recursion, the problem lies within here:
    Code: 
    function () { if ($.isReady) return; imReady = true; $.each($.includeStates, function (url, state) { if (!state) return imReady = false }); if (imReady) { $.readyOld.apply($, arguments) } else { setTimeout(arguments.callee, 10) } }
    where the error is actually coming from the 2nd "function" script. This is part of the browser compatibility script for mozilla/opera at the top of the index page. Any help would be great. Thanks.

    Ahh I apologize. I simply was posting to JavaScript forums in hopes of
    finding a solution. Sorry for the mixup.

  • New inst: HP-UX: db2icrt fails: CLP frontend unable to get request handle

    We are migrating our installations from the beautiful AIX to ... HP-UX.  I am told I will learn to love it, but probably not until they update df to at least 1988 levels. 
    This is the pilot install.  We have never seen this work before (and maybe no-one has...?)
    sapinst runs correctly up to the "Create database instance" phase.  At that point it dies with the following:
    FUNCTION: DB2 UDB, command line process, clp_start_bp, probe:3
    MESSAGE  : CLP frontend unable to get REQUEST handle
    DATA #1: Hexdump etc.
    DBI1281E: The database manager configuration file could not be read initialized.
    No further useful information is provided.
    In db2<sid> I have a bunch of dot files (.profile and the like) and the db2_software directory containing the database installation.
    During the create database instance phase, I can see that directory sqllib is created, but it is deleted when the phase fails.
    There is no litter of any kind in the /db2/<SID> directories, - nothing has been done at all.
    I have done the following: <<imagine nice bullets below - they dont seem to be available here>>
    checked that the permissions on /tmp and the installation direcctory (redirected by setenv  TEMP  /usr/sap/install) are 777: they are;
    checked the OS parameters with db2osconf - they are good
    checked the host name resolution with a perl script - gethostbyname and gethostbyaddr agree.
    the ip address, simple hostname and FQDN are on a line in the hosts file
    there is no litter from previous installations - this is a clean machine
    I could not find any reference to required environment variables (such as LD_LIBRARY_PATH) in the install guide or the install note - so I have not set any.
    I have been hacking away at this for days.  I have put in a call to SAP, who will get back to me after dark (of course...)
    This seems to be a massively popular problem, and the helpful error message ("Sorry, Sport, just can't bring myself to do it") seems to have people jumping from tall buildings and in front of busses all over Google-world.  Furthermore there also seems to be a near-infinite number of possible causes and none of them seem to apply here.
    H-PUX version is 11.31.  DB2 is 9V5 patch 4.  sapinst is latest available.  Weekend is fading fast...
    Edited by: Russell Day on Mar 5, 2010 7:46 AM

    >
    Paul Power wrote:
    > Hi Russell,
    >
    > Apologies if some of this has been already tried but please check the following points:
    >
    > Make sure the machine name is listed in its hosts file.
    >
    > Make sure to log on directly to root. ie: do not su to root from another without '-'        
    >
    > Make sure there is no instance created already (find / -name sqllib) for that user 
    >
    > Using ps -aef and ipc -a, no old db2 ressources should be displayed for db2 instance owner. If there are any, kill/remove it  
    >
    > You should make sure, that LIBPATH and LD_LIBRARY_PATH of root and db2 instance owner does not point to an path of another db2 version
    >
    > Regards,
    > Paul
    No need to apologise for assisting, Paul, but I have dealt with most of these.
    The host file contains the unqualified and fully qualified hostnames, on the same line, unqualified first.
    I am logging in as root (because there were no other users, and I'm old school, from when everyone logged on as root to do everything.
    There is no instance, and in fact there is no sqllib except when the "create database instance" step is running.
    The only detectable db2 process running is db2fcmd
    I have not been able to find any instructions regarding LD_LIBRARY_PATH and LIBPATH for HP-UX.  They are not mentioned in the installation guide at all.  I cannot find it in any of the installation notes.   I presume sapinst is setting them itself before they are needed.  Neither are set in the enviroment of db2<sid> or <sid>adm.  I have gnawed my fingernails to the elbow over this one, but I cannot see any indication that either should be set for HP-UX.  Anyway, they are definitely not set anywhere, to anything.  This was a clean machine before I started chopping it up to do this install.
    I figure it must be complicated - I have been trying to get an answer for 10 days already.  I will absolutely hate myself when it turns out to be something obvious, documented in 10 places, mostly in bold italics.  I shoulda taken my dads advice and been a riverboat gambler or a piano player in a cathouse - its a lot less complicated,

  • Why iam unable to get the valu from combobox

    when i run this code
    everytime iam getting blank alert
    y iam unable to get the selected item from combo box
    thank u
    <%@ page import="java.util.Date"%>
    <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
        pageEncoding="ISO-8859-1"%><%@page import="java.sql.*,java.util.*,java.text.*,java.util.ArrayList, java.util.List,org.joda.time.DateTimeConstants,org.joda.time.LocalDate,
    org.joda.time.Weeks"%>
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <HTML>
      <HEAD>
      <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
        <TITLE>Reading Data From Text Fields</TITLE>
      </HEAD><BODY onload=Datevalue()>
         <form name="form1" action ="" method="post" onSubmit="update();">
        <img src="nendrasys_logo.gif" align="right"></img>
      <b><font color="669900"><h4 align="left">UserName:</font> 
    <jsp:useBean id="user" scope="session" class="nendrasys.User" />
    <jsp:getProperty name="user" property= "name"/>
    &nbsp&nbsp&nbsp&nbsp
    <b><font color="90be00"><h4 align="left">Designation:</font>
      <jsp:getProperty name="user" property= "designation"/>
      <br><font color="669900"><h4 align="right">Project:</font>
        <select name="Projects">
         <option>Project:1</option>
         <option>Project:2</option>
         <option>Project:3</option>
         <option>Project:4</option>
         <option>Project:5</option>
    </select>
    <%! String s; %>
    <% DateFormat dateFormat = new SimpleDateFormat("yyyy/MM/dd");
            Date date = new Date();
            //out.println(dateFormat.format(date));
                s=  dateFormat.format(date);
    %>
    <select name="Dates" sizes=1 id="dates" onchange="Datevalue(this.value)">
    <script type="text/javascript">
    <!--//
    var begDate = new Date("10/01/2008");
    var endDate = new Date();
    var previousDate =new Date();
    var presentDate =new Date("<%=s %>");
    endDate.setDate(presentDate.getDate()+14);
    begDate.setDate(begDate.getDate()+(6-begDate.getDay()));
    while (begDate <= endDate) {
    var datestring=[begDate.getDate(),(begDate.getMonth()+1),begDate.getFullYear()].join('/');
    //  var datestring=[begDate.getDate().padZero(2),(begDate.getMonth()+1).padZero(2),begDate.getFullYear()].join('/');
    if(previousDate < presentDate && presentDate <= begDate )
        document.writeln('<option selected>'+(datestring)+'</option>')}
    else   
    document.writeln('<option>'+(datestring)+'</option>')};
         previousDate.setDate(begDate.getDate());
        previousDate.setMonth(begDate.getMonth());
         previousDate.setYear(begDate.getYear());
        begDate.setDate(begDate.getDate()+7);
    document.writeln('</select>');
    //-->
    </script>
    <br><br>
    <TABLE BORDER="2" BORDERCOLOR="#336699" CELLPADDING="2" CELLSPACING="2" WIDTH="100%">
    <TR>
    <TD>&nbsp&nbsp&nbsp</TD>
    <TD bgcolor="669900"><label  id="sun"></label></TD>
    <TD bgcolor="90be00"><label for="mon" id="Mon">Mon</label></TD>
    <TD bgcolor="669900"><label for="tue" id="tue">Tue</label></TD>
    <TD bgcolor="90be00"><label for="wed" id="wed">Wed</label></TD>
    <TD bgcolor="669900"><label for="thu" id="thu">Thu</label></TD>
    <TD bgcolor="90be00"><label for="fri" id="fri">Fri</label></TD>
    <TD bgcolor="669900"><label for="sat" id="sat">Sat</label></TD>
    <TD bgcolor="90be00"><label for="tot" id="tot">Total</label></TD>
    </TR>
    <tr>
    <th>Project Work</th>
    <td bgcolor="669900"><input type="text" name="c11" size="2" value="7" onBlur="javascript:document.frm.c12.value = document.frm.c11.value"></td>
    <td bgcolor="90be00"><input type="text" name="c12" size="2" value="3"></td>
    <td bgcolor="669900"><input type="text" name="c13" size="2"></td>
    <td bgcolor="90be00"><input type="text" name="c14" size="2"></td>
    <td bgcolor="669900"><input type="text" name="c15" size="2"></td>
    <td bgcolor="90be00"><input type="text" name="c16" size="2"></td>
    <td bgcolor="669900"><input type="text" name="c17" size="2"></td>
    <td bgcolor="90be00"><input type="text" name="c18" size="4"></td>
    </tr>
    <tr>
    <th>Internal N/C</th>
    <td bgcolor="669900"><input type="text" name="c21" size="2"></td>
    <td bgcolor="90be00"><input type="text" name="c22" size="2"></td>
    <td bgcolor="669900"><input type="text" name="c23" size="2"></td>
    <td bgcolor="90be00"><input type="text" name="c24" size="2"></td>
    <td bgcolor="669900"><input type="text" name="c25" size="2"></td>
    <td bgcolor="90be00"><input type="text" name="c26" size="2"></td>
    <td bgcolor="669900"><input type="text" name="c27" size="2"></td>
    <td bgcolor="90be00"><input type="text" name="c28" size="4"></td>
    </tr>
    <tr>
    <th>Public Holidays</th>
    <td bgcolor="669900"><input type="text" name="c31" size="2"></td>
    <td bgcolor="90be00"><input type="text" name="c32" size="2"></td>
    <td bgcolor="669900"><input type="text" name="c33" size="2"></td>
    <td bgcolor="90be00"><input type="text" name="c34" size="2"></td>
    <td bgcolor="669900"><input type="text" name="c35" size="2"></td>
    <td bgcolor="90be00"><input type="text" name="c36" size="2" ></td>
    <td bgcolor="669900"><input type="text" name="c37" size="2"></td>
    <td bgcolor="90be00"><input type="text" name="c38" size="4"></td>
    </tr>
    <tr>
    <th>Holidays Taken</th>
    <td bgcolor="669900"><input type="text" name="c41" size="2"></td>
    <td bgcolor="90be00"><input type="text" name="c42" size="2"></td>
    <td bgcolor="669900"><input type="text" name="c43" size="2"></td>
    <td bgcolor="90be00"><input type="text" name="c44" size="2"></td>
    <td bgcolor="669900"><input type="text" name="c45" size="2"></td>
    <td bgcolor="90be00"><input type="text" name="c46" size="2"></td>
    <td bgcolor="669900"><input type="text" name="c47" size="2"></td>
    <td bgcolor="90be00"><input type="text" name="c48" size="4"></td>
    </tr>
    </TABLE>
    <br>
    <center><input type="submit"  value="Submit" /> </center>
    <%
    String username   = request.getParameter("userid");
    String pwd  = request.getParameter("pwd");
    String connectionURL = "jdbc:mysql://localhost:3306/timestamp";
    Connection connection = null;
    Statement statement = null;
    ResultSet rs = null;
    String sql=null;
    Class.forName("com.mysql.jdbc.Driver").newInstance();
    connection = DriverManager.getConnection(connectionURL, "root","nendrasys");
    statement = connection.createStatement();
    //rs=statement.executeQuery(sql); %>
    </form>
    <SCRIPT language='Javascript'>
    function update()
        alert("ciaoooooo");
        <%
            try
                String value=request.getParameter("c11");
                String value1=request.getParameter("c12");
             //   if(value!=null)
              //  System.out.println(value);             
               // System.out.println(value1);
            catch(NullPointerException n)
        %>
    </script>
    <SCRIPT language='Javascript'>
    function Datevalue(date)
           //  document.getElementById("dates").innerHTML=document.getElementById("sun").value;
      alert(date);
             //  alert( document.getElementById("dates"))
                <% System.out.println("bye");%>
    </SCRIPT>
    </BODY>
    </HTML>

    You mixed Java and Javascript in the expectation that they runs simultaneously.
    You are Wrong.
    You need to distinguish between the server side languages and client side languages. Java/JSP runs at the server side and produces a HTML page with other client side stuff in it like CSS and Javascript. When the HTML page is finished, it will be sent to the client and then Java/JSP stops. Once the HTML page is arrived at the client, there is no one line Java code in it, only its output/result. Do a View Source in your favourite web browser to see it. Only from that moment on, Javascript runs and/or can be invoked.
    Whenever you want to use Java variables in Javascript, you need to print them out as a Javascript variable. Whenever you want to use Javascript variables in Java, you need to invoke a request to the server and pass them as parameters. The request can be either synchronous (a link or a form submit) or asynchronous (ajaxical).

  • "Unable to load workflow actions from server. Please contact your server."

    I get the following error message when I want to create or open a workflow in SharePoint Designer 2007
    "unable to load workflow actions from server. Please contact your server
    administrator."
    I don't receive this error as a site collection administrator, but one of my contributors gets the error.

    What Chris mentioned is kind of abnormal situation described in
    http://office.microsoft.com/en-us/sharepointdesigner/HA102379121033.aspx#20.
    However, normally, you won’t be able to create SPD workflow if you only have Contribute permission level. I give the user Design permission level then he can
    create SPD workflow.
    There are other factors affecting permission to create SPD workflow:
    1.     
    According to
    http://office.microsoft.com/en-us/sharepointdesigner/HA101005871033.aspx#4
    , the SPD workflows are stored in a site-level hidden document library called Workflows. You should make sure that user have permission in this document library so that the created workflow can be saved successfully.
     http://blogs.msdn.com/sharepointdesigner/archive/2008/11/25/locking-down-sharepoint-designer.aspx
    describe the method to manage permission for this hidden Workflows document library: open the site in SharePoint Designer >> right-click the Workflows library >> click Properties >> click the Security tab >> click the link “Manage
    permissions using the browser”
    2.     
    SharePoint Designer contributor setting (http://office.microsoft.com/en-us/sharepointdesigner/HA101174691033.aspx
    ) can also block the user from being able to create workflows.

  • Unable to get Image Processor Pro to run on Laptop. Creative CC suite.

    Hi, All,
    now i been using the excellent plugin from Russel Brown on my work PC for as long as i can remember. I had to do some work from home on Windows 8.1 Laptop 64Bit.
    However this strange issue as show as image below just unable to get past this point. Seems like something is stuck.  I can close it only. left it for ages. I even tried to trace the system with Microsoft Systemmonitor with no luck.
    I have re-installed the creative cc bridge now three times along with photoshop, cleaning out every reference to data settings etc..Still with same results.
    Even from outside bridge just trying to run the script from Photoshop directly gives the same result.
    Anything have any great suggestion what possibly could be reason. I got a ton of batch conversions i need to save PNGs otherwise i would just just the normal image process.
    Thanks in advance.

    Its Not Adobe Code and its not shipped with Photoshop.  Photoshop versions also has bugs in ScriptUI which is used by scripts with a dialog.  Image Processor Pro 2.3.1 has some bugs. Some files formats its saves may have problems.
    Russell Brown works for Adobe but he has been pulled away from Photoshop.  Xbytor is the programmer that wrote Image Processor Pro he does not work for Adobe and he is feed up with Adobe for not fixing bugs in Photoshop scripting.  He stated he will support Image Processor Pro for some time.
    Russell web site has this. The Open Source code is now available for many of my script and panels
    Because of new projects and a changing demand for my time, it will be necessary for me to move on to new projects at Adobe. For this reason I will no longer be able to support, or update many of my scripts and panels. Never fear! – I am releasing the source code for many of my programs and if you are a programmer then you can use this code to modify and change my scripts to meet your needs. If you are not a programmer then I recommend working with anyone on the list of programmers that I have supplied below. However! Let me make it clear that his code is not to be sold. This is an open and free source to be used for the good of humankind and Adobe Photoshop users around the world
    ===========================
    I do not have a Mac or a Windows 8 machine to test on. On my Windows 7 PC Image Processor Pro 2.3.1 and newer versions run on CS6, CC and CC 2014..  X is still working on it

  • Photoshop CS5 Exit Code 7 Unable to get root from inChildPath

    I downloaded the trial version 32 bit and 64 bit, to my desktop (Core I7 3.2 GHZ, 12Gb ram, Win XP Pro 64) and when installing, it doesn't get past 0%, just spits out this:
    0 fatal errors, 1 error, 0 warning
    Error: Unable to get root from inChildPath
    Exit Code:7 Unable to complete silent workflow
    I wanted to see if the install files were bad, some I copied to my craptop, which runs Vista 32 bit, and it works fine. Any word yet on what causes this error? Going to check and see if I missed any updates while I wait to see if anyone's had this issue.

    Using your links, I can find Adobe's listing for error code 7, but all it tells me is that exit code 7 does not define my problem, but the lines that follow exit code 7 do. Which is the "unable to get root from inChildPath" bit. I might have missed something in your post, but when I poke around the links in the document, and in Adobe's troubleshooting search feature, I can't find anything about the terms "root from inChildPath".
    Here's a recap of everything I tried yesterday, note that each error is exactly the same:
    At the day's beginning, I had Adobe Master Suite CS4 installed, including PS CS4.
    Without un-installing, I attempted to install Photoshop CS5 Trial > Got the error
    Copied PS CS5 files to laptop, which also has Master Suite CS4 > Installed fine
    Uninstalled Photoshop from Master Suite, then installed PS CS5 > Got the error
    Tried to install only 64 bit > Got error
    Did "Run As", signed in as admin > Got error
    Booted into Safe Mode to install to see if a background process was conflicting > Got error
    Reinstalled Master Suite for 6 hours and quit trying...

  • Change Master page of a site using ECMA Script in sharepoint 2010

    Hi All,
    I'm working on SharePoint 2010.
    I have a requirement where in I need to create a site and apply a particular master page to the newly created site using
    ECMA Script.
    The site gets created but while applying the master page it gives me an error stating the method 'set_masterUrl' is not defined.
    Here is my code:
    $(document).ready(function () {
    ExecuteOrDelayUntilScriptLoaded(createSite, "sp.js"); //This is used to ensure until sp.js is loaded, createSite will not be executed.
    function createSite() {
    var context = SP.ClientContext.get_current();
    var collWeb = context.get_web().get_webs();
    var webCreationInfo = new SP.WebCreationInformation();
    webCreationInfo.set_title('TestSite');
    webCreationInfo.set_description('Description of new Web site...');
    webCreationInfo.set_language(1033);
    webCreationInfo.set_webTemplate('STS#0');
    webCreationInfo.set_url('TestSite');
    webCreationInfo.set_useSamePermissionsAsParentSite(false);
    var oNewWebsite = collWeb.add(webCreationInfo);
    context.load(oNewWebsite);
    context.executeQueryAsync(Onsuccess, onfail);
    function Onsuccess() {
    dummy(context, oNewWebsite);
    function onfail(sender, args) {
    alert('Request failed. ' + args.get_message() + '\n' + args.get_stackTrace());
    function dummy(context,oNewWebsite)
    var strMasterPageUrl = '/_catalogs/masterpage/Test.master';
    oNewWebsite.set_masterUrl(strMasterPageUrl);
    oNewWebsite.set_customMasterUrl(strMasterPageUrl);
    oNewWebsite.update();
    context.executeQueryAsync(Onsuccess1, onfail1);
    function Onsuccess1() {
    alert("Done");
    function onfail1(sender, args) {
    alert('Request failed. ' + args.get_message() + '\n' + args.get_stackTrace());
    Please help.
    Thanks,
    Sachin

    The issue is coming because the scope of context and oNewWebsite is not available in your success method. Try to modify the code as below and see if that helps.
    $(document).ready(function () {
    ExecuteOrDelayUntilScriptLoaded(createSite, "sp.js"); //This is used to ensure until sp.js is loaded, createSite will not be executed.
    var context = null;
    var oNewWebsite = null;
    function createSite() {
    context = SP.ClientContext.get_current();
    var collWeb = context.get_web().get_webs();
    var webCreationInfo = new SP.WebCreationInformation();
    webCreationInfo.set_title('TestSite');
    webCreationInfo.set_description('Description of new Web site...');
    webCreationInfo.set_language(1033);
    webCreationInfo.set_webTemplate('STS#0');
    webCreationInfo.set_url('TestSite');
    webCreationInfo.set_useSamePermissionsAsParentSite(false);
    oNewWebsite = collWeb.add(webCreationInfo);
    context.load(oNewWebsite);
    context.executeQueryAsync(Onsuccess, onfail);
    function Onsuccess() {
    dummy(context, oNewWebsite);
    function onfail(sender, args) {
    alert('Request failed. ' + args.get_message() + '\n' + args.get_stackTrace());
    function dummy(context,oNewWebsite)
    var strMasterPageUrl = '/_catalogs/masterpage/Test.master';
    oNewWebsite.set_masterUrl(strMasterPageUrl);
    oNewWebsite.set_customMasterUrl(strMasterPageUrl);
    oNewWebsite.update();
    context.executeQueryAsync(Onsuccess1, onfail1);
    function Onsuccess1() {
    alert("Done");
    function onfail1(sender, args) {
    alert('Request failed. ' + args.get_message() + '\n' + args.get_stackTrace());
    The other way is to use this.context and this.oNewWebsite. To see how you can modify your code have a look at the following link.
    http://msdn.microsoft.com/en-us/library/office/jj163201%28v=office.15%29.aspx
    Geetanjali Arora | My blogs |

  • Change the Page title of Default.aspx in SharePoint Hosted App using ECMA Script

    Basically i want to change page title dynamically. the thing is default.aspx page is present in the below location
    Folders/Pages/Default.aspx ( Verified using
    SharePoint Manager 2013 Online )
    Could any one let me know how to iterate through the folders and then go to pages and change title of Default.aspx page?
    Navaneeth

    All the links which is mentioned above is either they are doing it in code behind or javascript like document.title.
    I want to change dynamically using ECMA script. the point i found here is if you use the below code you will get an error saying list "Pages" does not exists in the SharePoint site.
    clientContext.Web.Lists.GetByTitle("Pages");
    So i am wondering how can we change the page title of SharePoint hosted app ( Default.aspx) dynamically
    Say example i have one text box and submit button. when give the title in the text box and click on submit  the title should reflect in the page.
    Navaneeth

  • Rule 168 unable to get superior

    I am trying to activate a workflow but getting error . The technical log details shows that the superior(manager) cannot be resolved in rule 168 . while testing the rule 168 I can get the superior of person by passing
    Extended object id  = Position
    and
    object type =  ‘S’
    but when I try to find the superior by passing
    Extended object id = SAP log on name
    and
    object type as ‘US’
    I am unable to get the superior ..
    Please advice what could be the cause of it . do we need to change some HR setting ie saving relation  in some info type or some thing can be done in workflow to resolve it .

    while testing the rule 168 I can get the superior of person by passing
    Extended object id = Position
    and
    object type = ‘S’
    but when I try to find the superior by passing
    Extended object id = SAP log on name
    and
    object type as ‘US’
    I am unable to get the superior ..
    <b>actally when we use position or empid whith respective id type the testing of rule seems to be working fine but when we use object type 'US' and provide sap id it does not find it superior .. the all cases are in testing of rule using pfac_dis and whith the same empids .</b>
    as these all cases are in pfac_dis by default the rule uses type US ? or we have some setting for it

Maybe you are looking for

  • PDF Fonts change when viewed in Adobe Reader

    I'm producing a PDF which will be viewed online. It's being creating in Pages 09 and I export it to PDF. In Preview the PDF is fine - no problems. But when I view it in Adobe Reader the fonts have changed. I've tried all the fonts listed in the Font

  • TS1424 bought a song, and it is corrupt and will not download

    iTunes prompted me to check for availabe downloads for support, I did this three times and still the song will not download.  And it is already purchased, so I cannot try a different download.  HELP

  • DTP  filter routine is not working

    Dear gurus I am working with BI 7  and I have created following filter'routine in the DTP. But the routine is not filtering. The statement :  read table l_t_range with key                            fieldname = 'CLEAR_DATE'. is not working. sy-tabix

  • Continuous restarting of the finder

    I updated my tiger installation to leopard and havent looked back, but yesterday presented itself with a problem. I was dumb enough to fool arund with the menubar, when under the flag "icon" I choose grammarian which is program I have never really us

  • Editing photo in photoshop from lightroom 4

    When in lightroom 4,  selecting a photo and choosing edit in photoshop, sometimes a dialog box opens asking if I want to open original or copy with lightroom edits and sometimes it just opens in photoshop without the options. Anyone know why that is