Create page in page library through workflow

hi friends
i am using workflow to create page in page library like below.
i got the below error.
RequestorId: 2b25dbb5-31eb-0eb8-acb4-5f6e256a77ad. Details: System.ApplicationException: HTTP 400 {"SPRequestGuid":["7ff79e9c-ec59-7098-d325-9e14fbbb0157"],"request-id":["7ff79e9c-ec59-7098-d325-9e14fbbb0157"],"X-FRAME-OPTIONS":["SAMEORIGIN"],"MicrosoftSharePointTeamServices":["15.0.0.4420"],"X-Content-Type-Options":["nosniff"],"X-MS-InvokeApp":["1;
RequireReadOnly"],"Date":["Fri, 27 Jun 2014 12:27:05 GMT"],"Server":["Microsoft-IIS\/7.5"],"X-Powered-By":["ASP.NET"]} The length of the URL for this request exceeds the configured maxUrlLength
value. at Microsoft.Activities.Hosting.Runtime.Subroutine`1.SubroutineChild.Execute(CodeActivityContext context) at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager) at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor
executor, BookmarkManager bookmarkManager, Location resultLocation)

check this post
http://wethinkwebecome.blogspot.in/2012/02/sharepoint-designer-workflow-to-create.html

Similar Messages

  • Create Views in Material Master Through WOrkflow?

    Hello all,
            I have to trigger a WF(WOrkflow) once a Material is Created through MM01 and then have to send individual workitem to each user who ar eauthorized to create those views. I'm using BUS1001006 and here based on the Material type i need to create specific Views. Could anyone help me in fixing this issue and need to do dynamically.
            Helpfull answers will be rewarded.
    Thanks and Regards,
    Prashanth

    I solved by myself. Set PSTAT to whatever view you want.
    Thanks,
    Narayan

  • Creating sales order using BAPI, through BSP using 2 pages. one for input

    Hi Friends,
    i have a Requirement that....
    i want to create a BSP pages, in first page i have to give input data (in input fields) which is required to create a sales order through BAPI function module (BAPI_SALESORDER_CREATEFROMDAT1).
    in the second page what ever the result given by BAPI FM, that result i want to display on the second page.
    so how i can i proceed with input fields in first page and result in second page. please through some input on this.
    thanks in advance.
    sree

    Hi Sree,
       If you are going to use MVC pattern to do the following steps.
    For example. company code selection...
    In Model class-INIT() method.
    DATA : S_COMP LIKE LINE OF <table>.
    READ TABLE <table> INTO S_COMP INDEX 1.
      IF SY-SUBRC <> 0.
        S_COMP-TEXT = <variable>.
        S_COMP-KEY = '1'.
        APPEND S_COMP TO <i_table>.
        CLEAR S_COMP.
        INSERT S_COMP INTO <i_table> INDEX 1.
      ENDIF.
    HTML View page.
    <htmlb:dropdownListBox id = "comp"
                      table   = "//model/<table>"
                  selection   = "//model/<variable>"
            nameOfKeyColumn   = "text"
            nameOfValueColumn = "text"
            onSelect          = "<Event name>" />
    Thanks,
    Suriya.

  • How to create a new aspx page in Pages library using Elements.xml without including any aspx page layout in my feature?

    Is it possible to have the elements.xml file create a page in the Pages (or SitePages) library without actually including any sort of page layout or aspx artifact in the feature?
    I see no reason to add a mywebpartlayout.aspx to my feature just so I can deploy a Home.aspx based on the BlankWebPart.aspx page layout. 
    I'm sure there is something obvious I am missing with regards to the Elements schema (which is why I've almost given up on using it completely and just gone to pure C#) but
    I would really like to do this kind of simple stuff with declarations if at all possible. Must less code to write, debug, test and maintain.

    I don't see how my question keeps getting misunderstood. This seems to be very clear and clearly not answered: "Is it possible to have the Elements.xml file
    create a page in the Pages (or SitePages) library without actually including any sort of page layout or aspx artifact in the feature?"
    I can't be more clear than "without including ANY sort of page layout or aspx artifact (meaning anything ending in aspx) IN THE FEATURE". I am not capitalizing to yell,
    only to emphasize. Your disagreement is based on a link that shows ADDING AN ARTIFACT (the dummy MyPage.aspx) to a feature. I am asking if it
    is possible (again, I cannot be more clear) to just use an Elements.xml file to instruct SharePoint to make a new item in a Pages or SitePages library. 
    Your definition of page includes Page Layouts and what you call Web Part Pages (again, a type of page layout + data in a site pages list that says what webparts
    to display). Page Layouts are clearly NOT items stored inside of a SitePages or Publishing Pages library. Those libraries are just lists whose records
    define the parts to show inside a specific layout.
    When I refer to a Page I mean an entry into a pages (site pages/publishing pages) list. If I wanted to deploy a page layout then, quite obviously, I would need
    to include it into my solution. I think maybe you are assuming that I do not know the difference. I do. The question is, can an Elements file alone be enough to instruct SharePoint to make a new entry into a Pages or SitePages library. 
    Now, your second link does show how to reference an existing Page Layout. Thank you for that. It is excellent. But this still leaves the problem of having to
    add some sort of aspx page into the solution. Let me try to explain why I feel this SHOULD BE unnecessary: The aspx file will not have anything on it if I am referring to the ~sitecollections/.../BlankWebPartPage.aspx layout.
    All web parts and content that should appear on the new page can be described IN the Elements.xml file. Any sort of aspx file is unnecessary, it seems to me.
    So, if I am referencing a ~sitecollections/.../BlankWebPartPage.aspx page layout and specifying the web parts to add to the page, why should there be a
    requirement to have some aspx file within the feature? That's what I am trying to figure out.
    I am not asking for source code as proof. I am asking for an Elements file that does NOT reference anything AT ALL inside the Visual Studio solution for reasons I just described.
    If you do not know how to do it then perhaps it cannot be done but I would like the question to stay unanswered for a little while until someone can demonstrate either a) it CAN
    be done or b) a link to some Microsoft document stating that it is MANDATORY to have a physical element within the feature that gets copied to the environment.
    I think it is important to understand what is being asked before insisting you have answered. It is clear from your posts that you have not fully understood the question yet but
    I am hoping this posts makes it clear. I really appreciate you taking the time to respond, though. You seem to be the only one up for the challenge! :)

  • Something went wrong. To try again, reload the page and then start the workflow, error on starting a workflow

    i have already create a custom workflow with sharepoint designer and checked for error and it seem fine. i published it on my document library so apprear the first issue : the column that contain the name of my workflow apprear and the link to start my workflow(contain
    the name of my first stap) doesn't appear. the second problem is that when i tried to start the workflow manually on a specific document i get an alert : Something went wrong. To try again, reload the
    page and then start the workflow
    i tried : -restart service bus message broker -restart service bus gateway -recycle workflowMgntpool -flushed the dsn resolver cache and the problem still occure
    on uls log viewer it seems to be an error on w3wp.exe process
    the workflow history is empty

    Hi Mokhtar,
    For your first issue, when you publish a workflow to your document library, only after you start the workflow, then the link to go on the workflow(contain the name of the workflow stage) will appear.
    For your second issue, my understanding is that you got an error when you manually start a SharePoint Designer 2013 Workflow.
    Please go to Administrative Tools->Services, make sure the following services are started.
    Workflow Manager Backend
    Service Bus Message Broker
    Service Bus Gateway
    Windows Fabric Host Service
    Here are similar posts for you as a reference:
    https://social.msdn.microsoft.com/Forums/office/en-US/12f8ae26-6889-4227-a3fc-dd29a38230a6/something-went-wrong-to-try-again-reload-the-page-and-then-start-the-workflow?forum=sharepointcustomization
    http://community.office365.com/en-us/f/154/t/277480.aspx
    If the issue still exists, please check Event Viewer to check more information about this issue.
    http://msdn.microsoft.com/en-us/library/jj193526(v=azure.10).aspx
    I hope this helps.
    Best Regards,
    Lisa Chen
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Creating new publishing page and viewing Properties throwing exeption

    Hi,
    I am creating new OOB publishing page using “Article Page” layout.
    Please note Versioning and approval enabled on this “Pages” library. Also there is no workflow attached to this.
    Steps I am following:
    Goto Pages library.
    Create new Article page from add new item
    After that select that item and click on “View Properties” button from top ribbon. please not I have not checkedin page yet. It’s throwing exception as below.
     System.ArgumentException: Item does not exist. It may have been deleted by another user.   
    at Microsoft.SharePoint.SPList.GetItemById(String strId, Int32 id, String strRootFolder, Boolean cacheRowsetAndId, String strViewFields, Boolean bDatesInUtc, Boolean bExpandQuery)    
    at Microsoft.SharePoint.SPList.GetItemById(String strId, Int32 id, String strRootFolder, Boolean cacheRowsetAndId, String strViewFields, Boolean bDatesInUtc)    
    at Microsoft.SharePoint.Publishing.CachedListItem.FetchAllFields()    
    at Microsoft.SharePoint.Publishing.CachedListItem.GetFieldContents(String index, Boolean refetchIfFieldNotFound)    
    at Microsoft.SharePoint.Publishing.WebControls.SummaryLinkFieldControl.CreateChildControls()    
    at System.Web.UI.Control.EnsureChildControls()    
    at Microsoft.SharePoint.We...              
    896a6c9c-e172-e000-b2f5-76c261783eb4
    however same steps followed in our DEV environment and seems ok. only this issue with our another environments.
    Also once I check in page and then goto "View Properties" then it's working.
    Thanks in advance! Br,KS

    Do you have any workflow on the publishing library?  The error you mention I've seen sometimes when uses have created workflows that reference custom columns which are then deleted or removed.
    Additionally, if a user has insufficient permissions to start an attached workflow, this error can also be encountered.
    Steven Andrews
    SharePoint Business Analyst: LiveNation Entertainment
    Blog: baron72.wordpress.com
    Twitter: Follow @backpackerd00d
    My Wiki Articles:
    CodePlex Corner Series
    Please remember to mark your question as "answered" if this solves (or helps) your problem.

  • How to create a full-page collage?

    Am trying to find an easy way to create a full-page collage of pictures (to then save as a single photo, JPEG or PDF). Is there an easy way to do this within iPhoto '08 or a standard Mac application? (In the Cards/Calendars/Prints option of even ordering from Apple, there's no option or setting listed that I can see to create one. Are there other templates to download somewhere that I could use within iLife, or some standard application?)

    rekkus:
    Welcome to the Apple Discussions. OmniGraffle is a great application for creating collages. This one was 98 photos. You can use it in it's demo mode which allows 10 or less images or objects per file or project. I think if you group objects they will count as 1. Then export as a jpg or other file format.
    Do you Twango?
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 08 libraries and Leopard. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

  • How to create a 4 page pdf from images - each page should open at same size

    How do I create a 4 page pdf (from 4 images - all the same size) that opens each page at  full page size?
    Thank you so much.
    Ginger
    PREVIOUS MSG:
    My goal is to create multi page pdfs that are created from images (scans of old brochures).  I receive images (scans of pages) all at the same size.
    I have been able to create the 4 pdfs (each opens at full page size) and merge into 1 pdf.  When I open that final pdf, I  see a column of 4 pages, page 1 image being larger than the remaining 3. When I  click on the left, page 1, icon,  I get the full page.  When I click on icons for pages 2 - 4, I get nothing.  The only way I can get the other pages in a full page view is to adjust the scaling after left icon is selected.  That is not what I want.
    How I created the files.
    I can either create pdf pages using Photoshop, or using Acrobat Pro itself through:
    File> Create PDF> From File and adding each of the images.  I then, for each, choose Properties> Initial View> Fit Page> Save. Then I use File> Combine> Merge Files into Single PDF> Save.
    Then I open the multi page pdf.
    I appreciate any help.
    Thank you,
    Ginger
    PREVIOUS MS

    It seems to me what you want to do is create one document which a combination of all four  and then one page of each.
    To create a Document with 4 pages combined in to one PDF.  open the first in a Series the to Edit menu and click on add pages click on next document (browse to document first) the choose attach to to end of document or add to  end of document. Repeat until you get all images added. They will end up (or should ) center in center of their own page. Save this document with a new name for now.
    Next go back to Photo shop and reduce size of images to fit desired sheet of paper (8-1/2 by 11, 8-1/2 by 14, whatever) place them side by side and row by row so you have 4 images on one page.
    now save as Pdf.
    now decide which you want to swap to the Thumbnails (the 4 on one page, or 4 individual pages.  I would use the thumbnails and make each a button that references the page in the document you save as a 4 page pdf that applies.
    Then on that page write a line saying click each illustration to see full size image (you might have to write this line while in Photoshop) then save this as PDF file
    Try out. You might have to use some javascript controls to do this. But I am not experienced in JavaScript to do this. I'm sure it cane be done.
    But note you will have to save both documents with the Thumbnails and the four page and Thumbnail page in a folder and send to prospect
    If you want just four separate pages in one Pdf just do first two paragraphs above

  • How can you create a customized page to change user password?

    Hello to all,
    I would like to create a customized page for a user to change their password. We are using Portal version 3.0.9 on Windows NT/2000. Currently there is a page in portal where a user can change their password.
    I tried linking to that page by copying the shortcut url and adding it as an html portlet. The problem is that we want to direct the users to a
    page of our choosing when they click on the "cancel" and "ok" buttons. I read in the forums that there is a selfreg.cmd script.
    I also read that there is some code that has been available.
    Has anyone implemented a customized user password change page? Do you know of any links that might have steps to follow or
    more informatioin?
    Thanks in advance,
    Lindsay

    Hi,
    I was able to customize the change password screen through a procedure. This is what I did:
    * Created a procedure under the Portal30_sso schema:
    CREATE OR REPLACE procedure reports_chage_password
    site2pstoretoken in varchar2 default null
    ,p_username in varchar2 default null
    ,p_error_code in varchar2 default null
    ,p_submit_url in varchar2 default null
    ,p_done_url in varchar2 default null
    ,p_pwd_is_exp in varchar2 default null
    ,p_password in varchar2 default null
    is
    begin
    htp.htmlopen;
    htp.headopen;
    htp.title ('<TITLE of Page>');
    htp.headclose;
    htp.bodyopen;
    htp.p('<table width="100%"><tr><td colspan=2 align=center><IMG SRC=<directory of image if you want>"><br><hr><br></td></tr>');
    htp.p('<tr><td colspan=2 align=center>');
    htp.p('<font COLOR="#000080" face="Times New Roman" size=+2><b>');
    htp.header(nsize => 1 ,cheader => 'Change Password');
    htp.p('</b></font>');
    htp.p('</td></tr><tr><td align=right>');
    htp.formopen(curl => p_submit_url );
    htp.p('<font color="#000080" face="Times New Roman" size=+1>');
    htp.p ('Username:');
    htp.p('</td><td alight=left><font color="#000080" face="Times New Roman" size=+1>');
    htp.p(p_username);
    htp.p('</font>');
    htp.p('</td></tr>');
    htp.formHidden(cname => 'p_username',cvalue => p_username);
    htp.br;
    htp.p('<tr><td align=right>');
    htp.p('<font color="#000080" face="Times New Roman" size=+1>');
    htp.p ('Old Password: ');
    htp.p('</font>');
    htp.p('</td><td align=left>');
    htp.p ( htf.formPassword(cname => 'p_old_password',csize => 30,cmaxlength => 30) );
    htp.p('</td></tr>');
    htp.br;
    htp.p('<tr><td align=right>');
    htp.p('<font color="#000080" face="Times New Roman" size=+1>');
    htp.p ('New Password: ');
    htp.p('</font>');
    htp.p('</td><td align=left>');
    htp.p ( htf.formPassword(cname => 'p_new_password',csize => 30,cmaxlength => 30) );
    htp.p('</td></tr>');
    htp.br;
    htp.p('<tr><td align=right>');
    htp.p('<font color="#000080" face="Times New Roman" size=+1>');
    htp.p ('Confirm New Password: ');
    htp.p('</font>');
    htp.p('</td><td align=left>');
    htp.p ( htf.formPassword(cname => 'p_new_password_confirm',csize => 30,cmaxlength => 30) );
    htp.p('</td></tr>');
    htp.p('<tr><td rowsapn=2>');
    htp.formHidden(cname => 'p_done_url',cvalue => '<the url that you want users to go to when they are done>');
    htp.formHidden(cname => 'p_pwd_is_exp',cvalue => p_pwd_is_exp);
    htp.formHidden(cname => 'p_password',cvalue => p_password);
    htp.formHidden(cname => 'site2pstoretoken',cvalue => site2pstoretoken);
    htp.p('</td></tr>');
    htp.p('<tr><td align=right>');
    htp.formSubmit(cname => 'p_action',cvalue => 'OK');
    htp.p('</td><td align=left>');
    htp.formSubmit(cname => 'p_action',cvalue => 'CANCEL');
    htp.p('</td></tr></table>');
    if p_error_code is not null then
    htp.br;
    htp.fontOpen(ccolor=> 'red', csize=> 4);
    if p_error_code = 'auth_fail_err' then
    htp.p('Old password is incorrect');
    elsif p_error_code = 'pwd_rule_err' then
    htp.p('The new password does not follow '||
    'the password policies.');
    htp.br;
    htp.p('Verify with your System Administrator '||
    'about the Password Policies');
    elsif p_error_code = 'confirm_pwd_fail_txt' then
    htp.p('Confirmation for new passord is not '||
    'the same as the New Passowrd');
    elsif p_error_code = 'null_new_pwd_err' then
    htp.p('New password cannot be null');
    elsif p_error_code = 'null_old_pwd_err' then
    htp.p('Old password cannot be null');
    else
    htp.p ('Error: ' || p_error_code );
    end if;
    htp.fontClose;
    end if;
    end;
    * Grant this procedure to PUBLIC
    * Update the portal30_sso.wwsso_ls_configuration_info_$:
    UPDATE portal30_sso.wwsso_ls_configuration_info_$
    SET LOGIN URL = '<YOUR CUSTOM LOGIN URL OR THE WORD UNUSED IF YOU DON'T HAVE ONE> http://<MACHINE_NAME>.<DOMAIN>/pls/portal30_sso/portal30_sso.<NAME OF PROCEDURE>';
    * After you update the table, go to your account information link, and click on the change password link.
    * Then copy the url that you see in your address line
    * And if you want a change password link at the top of your portal page, just go to EDIT on your page, then edit the banner defaults. Then in the links add the Lable and the URL. The URL would be the URL you copied from the previous step.
    Hope this helps.
    I've customized the login page too if you would like some sample code for that. Let me know.
    Martin

  • Unable to see the pageviewer in a page from pages library in a custom page layout

    <File Url="Inbox.aspx" Type="GhostableInLibrary" Level="Published" Path="myPages\Pages\Inbox.aspx" >
    <AllUsersWebPart WebPartOrder="0" WebPartZoneID="Header" ID="inboxwp1">
    <![CDATA[<WebPart xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/WebPart/v2">
    <Title>Inbox</Title>
    <FrameType>Default</FrameType>
    <Description>Displays another Web page on this Web page. The other Web page is presented in an IFrame.</Description>
    <IsIncluded>true</IsIncluded>
    <ZoneID>wpz</ZoneID>
    <PartOrder>0</PartOrder>
    <FrameState>Normal</FrameState>
    <Height></Height>
    <Width />
    <AllowRemove>true</AllowRemove>
    <AllowZoneChange>true</AllowZoneChange>
    <AllowMinimize>true</AllowMinimize>
    <AllowConnect>true</AllowConnect>
    <AllowEdit>true</AllowEdit>
    <AllowHide>true</AllowHide>
    <IsVisible>true</IsVisible>
    <DetailLink />
    <HelpLink />
    <HelpMode>Modeless</HelpMode>
    <Dir>Default</Dir>
    <PartImageSmall />
    <MissingAssembly>Cannot import this Web Part.</MissingAssembly>
    <PartImageLarge>/_layouts/15/images/mscntvwl.gif</PartImageLarge>
    <IsIncludedFilter />
    <Assembly>Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c</Assembly>
    <TypeName>Microsoft.SharePoint.WebPartPages.PageViewerWebPart</TypeName>
    <ContentLink xmlns="http://schemas.microsoft.com/WebPart/v2/PageViewer">/_layouts/15/AppPages/InboxRedirectPage.aspx</ContentLink>
    <SourceType xmlns="http://schemas.microsoft.com/WebPart/v2/PageViewer">URL</SourceType>
    </WebPart>]]>
    </AllUsersWebPart>
    <AllUsersWebPart WebPartOrder="0" WebPartZoneID="LeftWP" ID="wpLeft">
    <![CDATA[
    <webParts>
    <webPart xmlns="http://schemas.microsoft.com/WebPart/v3">
    <metaData>
    <type name="myWebParts.ProjectLinks.ProjectLinks, m, Version=1.0.0.0, Culture=neutral, PublicKeyToken=52f3214933d771f7" />
    <importErrorMessage>$Resources:core,ImportErrorMessage;</importErrorMessage>
    </metaData>
    <data>
    <properties>
    <property name="Title" type="string">myprojectLinks</property>
    <property name="Description" type="string">My Visual Web Part</property>
    </properties>
    </data>
    </webPart>
    </webParts>
    ]]>
    </AllUsersWebPart>
    <Property Name="ContentTypeId" Value="0x010100C568DB52D9D0A14D9B2FDCC96666E9F2007948130EC3DB064584E219954237AF390076F7B5D03DD146D699D042E1C5D76EF7" />
    <Property Name="FileLeafRef" Value="Inbox.aspx" />
    <Property Name="Title" Value="Inbox" />
    <Property Name="PublishingPageLayout" Value="~SiteCollection/_catalogs/masterpage/myPageLayout/myPage.aspx, my custom Page Template"/>
    <Property Name="ContentType" Value="myPageCT" />
    <Property Name="_ModerationStatus" Value="3" />
    <Property Name="FileDirRef" Value="Pages" />
    <Property Name="FSObjType" Value="0" />
    </File>
    I have created a custom page layout in my site collec. using VS 2012 and deployed am able to see the page in the pages lib [inbox.aspx].
    Here, I have added a page viewer web part and I want to redirect to another application page, which is already coded [inboxredirect.aspx] in my solution[its another dll - another SP solution which has appln pages and web parts
    etc - ] 
    The issue is that, i am unable to see the page viewer web part when the page is displayed. inbox.aspx is a page which is created once my custompagelayouts solution is deployed and when i navigate to this page, i am stuck . i am getting
    the  " access denied " message is displayed.  
    can anyone help why this  error is displayed?
    in my inboxredirect.aspx page i am inherting from unsecuredlayoutspagebase class, so  i dont think , access denied message should come.
    using System;
    using System.Configuration;
    using Microsoft.SharePoint;
    using Microsoft.SharePoint.WebControls;
    namespace myproj.Layouts.AppPages
    public partial class InboxRedirectPage : UnsecuredLayoutsPageBase
    string projectName = string.Empty;
    protected void Page_Load(object sender, EventArgs e)
    string siteUrl = SPContext.Current.Web.Url;
    using (SPSite site = new SPSite(siteUrl))
    using (SPWeb web = site.OpenWeb())
    string urlProjectName =Request.UrlReferrer.ToString();
    projectName = urlProjectName.Split('/')[5];
    //end
    SPUser user = web.CurrentUser;
    if (user != null)
    above is my appln page to which i am redirecting.

    Solved it myself guys... (Well the major part)
    Got help from here...
    https://www.nothingbutsharepoint.com/sites/devwiki/articles/pages/blank-open-save-dialog-when-browsing-document-library-from-office-clients.aspx
    and
    http://www.sharepointconfig.com/2011/02/vs2010-list-definition-template-missing-file-dialog-view/
    with some tweaks of my own..
    Still working on it because its showing SharePoint 2010 header... And I need 2013 look...

  • Something went wrong. To try again, reload the page and then start the workflow

    We have a SP 2013 farm with Aug 2013 CU. While trying to start an SPD 2013 platform workflow from browser I get an error "Something went wrong. To try again, reload the page and then start the workflow."
    I could also see the following in ULS:
    System.NotSupportedException: Not supported in Windows authentication mode.
    at Microsoft.SharePoint.IdentityModel.SPIdentityContext.Create(SPUserToken token, Boolean
    isShareByLinkGuestUser)
    at Microsoft.SharePoint.WorkflowServices.WorkflowServiceContextExtensions.GetApplicationUserCredentials
    (WorkflowServicesContext context) StackTrace:
    at Microsoft.Office.Server.Native.dll: (sig=35339f9c-8871-4ef1-9118-9c1bd0cb6598|2|
    microsoft.office.server.native.pdb, offset=131CE)
    at Microsoft.Office.Server.Native.dll
    This seems to be a bug and is solved in Mar 2013 PU but I have Aug CU. The web where I have this workflow has classic mode auth. Has anyone come across this error before?
    I have checked the following:
    1. Service
    Bus Gateway and Service
    Bus Manager Broker services are started
    2. Authentication for this web application is Windows NTLM
    -- The opinions expressed here represent my own and not those of anybody else -- http://manojvnair.blogspot.com

    Thank you for the steps.
    I have checked User Profile service and it is started and running fine. The user who is trying to start the workflow (me) has a profile created. I'm not starting wf as system account and my account is not added to web application user policy. Workflow isn't
    even firing when I try to edit list item.
    I tried to edit the list item as system account and workflow started this time. But it does to suspended state with the following message:
    RequestorId: 54f4a912-ab0b-a1f2-0000-000000000000. Details: RequestorId: 54f4a912-ab0b-a1f2-0000-000000000000. Details: An unhandled exception occurred during the execution of the workflow instance. Exception details: System.ApplicationException: HTTP 401
    {"SPRequestGuid":["54f4a912-ab0b-a1f2-be58-305dd8b6eab4"],"request-id":["54f4a912-ab0b-a1f2-be58-305dd8b6eab4"],"X-FRAME-OPTIONS":["SAMEORIGIN"],"SPRequestDuration":["2"],"SPIisLatency":["1"],"MicrosoftSharePointTeamServices":["15.0.0.4535"],"X-Content-Type-Options":["nosniff"],"X-MS-InvokeApp":["1;
    RequireReadOnly"],"Date":["Thu, 24 Apr 2014 15:32:05 GMT"],"Server":["Microsoft-IIS\/8.0"],"WWW-Authenticate":["NTLM"],"X-Powered-By":["ASP.NET"]} at Microsoft.Activities.Hosting.Runtime.Subroutine.SubroutineChild.Execute(CodeActivityContext context) at System.Activities.CodeActivity.InternalExecute(ActivityInstance
    instance, ActivityExecutor executor, BookmarkManager bookmarkManager) at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)
    WhenI try to start wf I can see the first error:
    System.NotSupportedException: Not supported in Windows authentication mode.    
     at Microsoft.SharePoint.IdentityModel.SPIdentityContext.Create(SPUserToken token, Boolean isShareByLinkGuestUser)    
     at Microsoft.SharePoint.WorkflowServices.WorkflowServiceContextExtensions.GetApplicationUserCredentials(WorkflowServicesContext context) StackTrace: 
     at Microsoft.Office.Server.Native.dll: (sig=35339f9c-8871-4ef1-9118-9c1bd0cb6598|2|microsoft.office.server.native.pdb, offset=131CE)
     at Microsoft.Office.Server.Native.dll: (offset=21B4D
    -- The opinions expressed here represent my own and not those of anybody else -- http://manojvnair.blogspot.com

  • Title of Page from Pages library not appearing as expected from custom pagelayouts VS solution

    hi,
    i have created a custom web page from pages library using custom page layouts library with the help of a wsp.
    here is my  sample page.
    now my issue is,  when i go to the page / the title of the page is not displaying correctly.
    as per my requirement the ttile  of the page   should be  APPROVE/REJECT Doc
    which is mentioned in the  <title>APPROVE/REJECT Doc</title></head>.
    and in my VS 2012 pagelayouts solution i have added this page name approve1.aspx.
    hence  i am getting the Page title from the pages lib as approve1 .
    can someone pls help what should i do to get this title issue  resolved.
    i cant rename the page again from the solution.i  would like to see the title of this page takes from <title>APPROVE/REJECT Doc</title></head> .
    <%@ Page Inherits="Microsoft.SharePoint.Publishing.TemplateRedirectionPage,Microsoft.SharePoint.Publishing,Version=15.0.0.0,Culture=neutral,PublicKeyToken=71e9bce111e9429c" %> <%@ Reference VirtualPath="~TemplatePageUrl" %>
    <%@ Reference VirtualPath="~masterurl/custom.master" %><%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"
    %>
    <html xmlns:mso="urn:schemas-microsoft-com:office:office" xmlns:msdt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882"><head>
    <!--[if gte mso 9]><xml>
    <mso:CustomDocumentProperties>
    <mso:PublishingContact msdt:dt="string">47</mso:PublishingContact>
    <mso:PublishingIsFurlPage msdt:dt="string">0</mso:PublishingIsFurlPage>
    <mso:display_urn_x003a_schemas-microsoft-com_x003a_office_x003a_office_x0023_PublishingContact msdt:dt="string">hellooo1</mso:display_urn_x003a_schemas-microsoft-com_x003a_office_x003a_office_x0023_PublishingContact>
    <mso:PublishingContactPicture msdt:dt="string"></mso:PublishingContactPicture>
    <mso:RobotsNoIndex msdt:dt="string">0</mso:RobotsNoIndex>
    <mso:PublishingContactName msdt:dt="string"></mso:PublishingContactName>
    <mso:ContentTypeId msdt:dt="string">0x010100C568DB52D9D0A14D9B2FDCC96666E9F2007948130EC3DB064584E219954237AF390076F7B5D03DD146D699D042E1C5D76EF70034D563D3D2DE07429FB160DADE75B460</mso:ContentTypeId>
    <mso:PublishingPageLayoutName msdt:dt="string">myPage.aspx</mso:PublishingPageLayoutName>
    <mso:Comments msdt:dt="string"></mso:Comments>
    <mso:PublishingContactEmail msdt:dt="string"></mso:PublishingContactEmail>
    </mso:CustomDocumentProperties>
    </xml><![endif]-->
    <title>APPROVE/REJECT Doc</title></head>

    Hi,
    As there is no complete code at hand, you can take the snippet below about updating the name of a page in a page library as a reference:
    if((Get-PSSnapin | Where {$_.Name -eq "Microsoft.SharePoint.PowerShell"}) -eq $null) {
    Add-PSSnapin Microsoft.SharePoint.PowerShell;
    $web = Get-SPWeb http://yoursite
    $list = $web.Lists["Site Pages"]
    $listItems = $list.Items
    foreach($item in $listItems)
    if ($item.Name -eq "Page1.aspx")
    $file = $item.File
    $file.MoveTo($item.ParentList.RootFolder.Url + "/" + "Page1_changed.aspx")
    $file.Update()
    #dispose of web
    $web.dispose();
    Best regards
    Patrick Liang
    TechNet Community Support

  • What is the best qay to create a simple page with three textbox fields

    Hi
    I try to create a Portal page for Password change.
    At first look, I taught that to create that basic page will be easy as one, two , three.
    Unfortunately not.
    I need to create three textbox and include pl/sql validation agains our BD.
    I usually work with a form base on procedure whose contain htp.package procedure
    to create a portal page when that form is called. (Base on the way where Portal manage his own change password page.)
    I try to get a better design of the page.
    Where I get all the information about that package ? I want to center the page.
    Oh yeah, I'm a newbie in html.
    Any ideas will be appreciate
    Thank
    Regis

    Hi,
    You could create a FORM with non base table fields. You could then validate the values on SUBMIT (say through a button) and then do whatever processing,redirection needs to be done.
    Or
    you could create a DYNAMIC PAGE with all html fields and proper alignments etc and on form submit do the relevant processing.
    Thanks,
    Anu

  • How to create a new page in SRM5.0 and return data

    Hi,Everyone,
        I want to create a new page,for example:
         when user select a po item,and then we want to create a custom button at po item basic data screen,when user click the custom button,
        we want to pop up a new page for our custom logic.at the pop up page,when user complete some data selection, and then the data should return or refresh to po item.
       And now,I have a question for that:
        How can i return or refresh data(for example,the price) to po item. I have create a bsp page for our pop-up page.
    Thanks.
    andy

    HI,Masa,
       Thanks for your reply. and it's a very useful ways.and i will consider for that way.
       But i think if there have any other way ?
       for example: i create a bsp page for our new page,and through the custom button of po basic item page. and that can realize.but how can i return data to the select item.
      Thanks.
    Regards,
    Andy

  • Creating an HTML page with an embedded image in JAVA

    is it possible to have a code in java that creates an HTML page,
    reads an image file and embeds this to the HTML page?
    can anyone give me a sample code? =)
    thank you very much!

    Just tried this out, and it doesn't do what I was hoping: embed the image into the HTML document as a byte stream, so that the HTML document will display the image, without a seperate file.
    When I did:
    import java.io.*;
    public class EmbeddedImageTest {
        public static void writeHTML(String htmlfile) {
            File htmf = new File(htmlfile);
            FileOutputStream fout;
            DataOutput dout;
            try {
                fout = new FileOutputStream(htmf);
                dout = new DataOutputStream(fout);
                dout.writeBytes("<html><head></head><body><img src=" +
                    "file:/C:/image.jpg></body></html>");
            catch(IOException ie) {
                ie.printStackTrace();
        public static void main(String[] args) {
            writeHTML("c:/embeddedImage.html");
    }I just got an HTML file containing "<html><head></head><body><img src=file:/C:/image.jpg></body></html>".
    I've seen images get embedded in MS Outlook HTML e-mails. Does anyone know if this is done in a standard way (ie not through some MS-proprietary way), and if it can be done with an HTML file made by Java?

Maybe you are looking for

  • Magic Mouse Jumps After Update to 10.6.8 - Help!

    Ok so I have updated my 2010 iMac to v10.6.8 and now my Magic Mouse randomly spazzes across the screen or is very slow to move. I have installed the supplemental update in the hopes of fixing the problem, also reset the PRAM and SMC, all to no avail.

  • Export to pdf with missing links

    I recieved a indesign document with a few missing links on some small thumbnails. Is there any way to embed pictures with already missing links? using ID CS5 Thanks

  • Can't use bind variable in a function

    This is a repost from my earlier post at URGENT: Problem creating the report using Procedure The problem is when I bind a variable in a function, I get REP-0002. Please look at the following steps to reproduce === set serveroutput on create or replac

  • Sequence of Email Ids on Outgoing Mails

    Hi, When emailing to multiple ids, the sequence of email ids is always jumbled and not in the order in which i have them in my "To" box. Is there a way to rectify this? thanks, Rushabh Mehta

  • MAKE RECORDS IN TABLE 'TRFCQIN'

    hi all, can anysone can tell me how the make records of the db table 'TRFCQIN', any tcode? it is urgency~ thanks in advance