How to use custom WrkTaskIp.aspx page in custom sharepoint workflow? - sharepoint

I have created as custom task edit browser enabled Infopath form which successfully gets open when user clicks on Edit task. But by default it opens up in the WrkTaskIP.aspx page which is available in 12 hive..Layouts folder.
Now the default WrkTaskIP form provides two following options as hyperlinks
1. Delete item, and
2. A link to navigate to the task display form
I want to customize the OOB, WrkTaskIP page and associate that with my workflow.
How exactly can i achieve this ?
Thanks.

Assuming you've got a custom task content type you can create a custom feature with an application page and make the task open the form in this page instead.
Copy the WkrTaskIP.aspx page from the 12 hive, modify the contents as you require and deploy this as an application page.
Then in your taskcontenttype.xml file point to your custom page by setting the Display or Edit values to the deployed location of your custom page:
<FormUrls...>
<Display>_layouts/YourCompany/Workflow/YourWrkTaskIIP.aspx</Display>
<Edit>_layouts/YourCompany/Workflow/YourWrkTaskIIP.aspx</Edit>
</FormUrls>

Related

Creating A Custom Page in SAP Hybris

I am trying to create a unique page.
In general, i create a page template , from that template i create a page(in this case it is content page)
then i create content slot with a component within it and create a content slot name for its position at template or page,
afterwards i relate this slot with template or page.
But this time i am working on a different scenario,
What i am trying to do is making the management of this page much more easier.
The customer will create a bundle promotion page on backoffice but creating process contains too much steps on different locations.
I want to gather all these parameters to the page's administration panel.
For example content page's panel have some attributes but i am using my own component's attributes to fill the content slot.
Content Page Type's attributes : https://imgur.com/hGFMOnT .
I want to make a custom cms page type which will appear after pressing the plus sign,
for example Bundle Promotion Page (similar to content page).
creating page menu : https://imgur.com/4x5yfqO .
selecting page type : https://imgur.com/S3sm4Ay .
It must have a default template, content slot name, content slot with custom component in it.
All these parameters should be manageable from Bundle Promotion Page's administration panel.
Is this kind of concept possible with Hybris Backoffice?
Yes, it is possible.
please check this option in latest Hybris under WCMS menu in backoffice.There are default page types like email,document etc available as acceleratorservice extension. Custom page types can be created by including any custom attributes and content types.

Working with Forms in Shopware

I am unable to understand how forms work in shopware. I need to update the contact page with my own style but when I add content into the contact page cannot see that content on page when I browse it.
Could you please let me know how to create a page and what need to be done to add a form to that page?
You are aware that the contact form is handled via configuration that can be done in the shopware backend's content > form section? there you will find a list of existing forms that can be modified by clicking the pen icon. A window will open where you can configure the forms name, the recipient email address, subject, email template as well as the form html content that will be shown in the frontend and the message that appears after submitting the form.
If you intend to change the layout (html and/or css) of the forms you need to override the forms template files:
frontend/forms/elements.tpl
frontend/forms/header.tpl
frontend/forms/index.tpl
Kind regards!

Dynamics CRM 2011 html web resource content update

I have a custom form contains a HTML web resource and there is a combo box in HTML web resource.
When I change selected item in the combo box and click save button on the top of page, page does not detect the combo box change and as a result there is no Save.
How can I resolve this problem ?
Add a hidden field in the form (hidden but not read only), then make the web resource change it and the CRM will pick up on it.
You could also explicitely invoke Xrm.Page.data.entity.save() if you want to initiate a save when user acts inside the web resource.

Can't Create an Announcement Page

The usual procedure for creating an announcement page isn't working. I go to create page, and get the usual page asking me to enter a name for my page and select a template. The problem is that the drop down box to select the template for the page does not include 'announcement page'.
What's going on? Is this a result of using a sample site template? If it is a problem with this particular site template, is there a fix?
The option is present on my other sites.

WrkTaskIP.aspx Task Page Change Redirect URL

I have a workflow with customised task forms so clicking on a workflow task opens up the task page WrkTaskIP.aspx with an InfoPath form hosted within it.
The task form has a submit button which submits to the hosting environment to complete the task and the page by default will then redirect to the WrkStat.aspx page to display the status of the workflow after submitting the task.
However I would like to be able to change this default redirection to another URL which I would normally do by modifying the &Source parameter in the URL however this time I have no control over this.
Is there any way to achieve the redirection to another URL in this situation?
(That does not involve a global change to a _layout form)
Any help would be much appreciated.
I got around this problem by having a task form change view to a "Task Completed" screen on submit which then includes a link to the place they should be redirected to.
Since I already have found a way to get hyperlinks to open in the same window, it nearly has the same effect as what I was originally after.
The customers were actually happy with this because it confirmed to the user that they had completed the task rather than just redirecting after clicking submit.

Resources