Quantcast
Channel: Optimizely Search & Navigation
Viewing all 6894 articles
Browse latest View live

Same form twice on page, validator validates both forms

$
0
0

Hi there,

Our users would like to add the same form twice to the page. I guess once near the top and again close to the bottom of the page (not here to debate whether this is good or bad).

After doing some testing, I noticed that if I add the same form twice to the page then the following happens:

Scenario 1

If I fill out the top form only and click submit, I get form input validation errors for both forms and no form is sent off. I guess this is because in the 2nd instance of the form, the input fields are empty, so as far as the validator is concerned something is wrong.

Scenario 2

If I fill out the bottom form only and click submit, then the bottom form is sent off properly, but the button on the top form displayes a circle (it is waiting for feedback on form success I guess).

Is there anything I can do to allow:

  • the same form to be added mutiple times to the same page, and
  • for the validator to validate only the instance that has been clicked

?

Any ideas how to approach this?
What files do I need to look into? (Am new to EPiServer development and did not get very far yet).


How to – skip initial content item creation dialog

$
0
0

Starting with some of the new CMS version (guessing some 11 version) there is new creation dialog upon content item creation.

This has some disadvantages:

  1. There is need to quickly create new item but required properties does not allowing this. (E.g. during testing)
  2. Working around point 1 results in fact that “required” props are group to Additional properties group. That is not good.
  3. Not all props have so cogent names so they purpose can be easily identified without noting tab they belong to.

I wonder how to skip initial creation dialog on per content type basis. Also some general switch off could be interesting for me.

Link to proper documentation page will be sufficient.

Thanks a lot.

Localize or remove error message added to form actor result

$
0
0

I have created a custom form actor that sends form data to an external service. If the form does not submit successfully to this service I create a SubmissionActorResult object and set it to cancel submit and add an error message to it. When this result object gets sent back to the form and displays the error on the form page it has an additional error messege prepended to the one I wrote to the result object. It always adds "Failed to submit." In front of the error message That I wrote. 

I can't find where this message comes from. I would like to remove it or at the least localize it but I can't find how to do this.

Thanks,

Calvin

Commerce variation index but let url point to parent product

$
0
0

Hi Guys,

so i have commerce products and below i have several variations. On the page of the product there is a (html)table with these variation and some corresponding data of these variations (productnumber, title etc). 

These variation dont have their own page. But i want the data added in these variation be indexed to their parent product. So if i search for a productnumber of a variation i want :

  • for the variation to show up in the seachresult but the url is to its (parent) product.
  • or show the product page in the result to show up (because the data of the variation is on that page).

Which one is easier to implement. 

Which approach can i use here to achieve this?

Change Auditing

$
0
0

I'm using Ektron CMS v9.20 and have enabled Change Auditing by setting web.config ek_cmsauditlogging to "true". I'm finding that no error message is displayed to the user, nor is an exception logged, when a menu, user or taxonomy, is deleted despite setting the appropriate values. Results are as expected for content and folder deletion.

I have not created any roles. Any suggestions? Below is my ektron.cms.auditing.config file:

<?xml version="1.0"?>
<cmsaudit>
<settings>
<!-- Notice: Values of role name have maximum of 41 letters -->
<add name="MenuDeleterRole" value="MenuDeleter"/>
<add name="UserDeleterRole" value="UserDeleter"/>
<add name="TaxonomyDeleterRole" value="TaxonomyDeleter"/>
<add name="FolderDeleterGroup" value="FolderDeleter"/>
<add name="RecycleBinFolderName" value="Recycle Bin"/>
</settings>
<strategies>
<!-- Valid values for ContentAuditing:
LogandArchive - Log and set content archived rather than delete content
LogandDelete - log and delete content
None
-->
<add name="ContentAuditing" value="LogandArchive"/>

<!-- Valid values for FolderAuditing:
LogandArchive - Log and move folder to configured recycle bin folder above
LogandDelete - Log and delete
None
-->
<add name="FolderAuditing" value="LogandArchive"/>


<!-- Valid values for MenuAuditing:
LogandException - Log and cancel delete action
LogandDelete - Log and delete
None
-->
<add name="MenuAuditing" value="LogandException"/>


<!-- Valid values for TaxonomyAuditing:
LogandArchive - Log and set taxonomy invisible to user
LogandException - Log and cancel delete action
LogandDelete - Log and delete
None
-->
<add name="TaxonomyAuditing" value="LogandArchive"/>


<!-- Valid values for UserAuditing:
LogandException - Log and cancel delete action
LogandDelete - Log and delete
None
-->
<add name="UserAuditing" value="LogandException"/>
</strategies>
</cmsaudit>

Offline and historical orders - Tracking

$
0
0

If there is any change in previously submitted offline order. Can we resend it to Epi ? Will Epi update the order accordingly ? 

Untranslated elements in non-fallback language appear for end user

$
0
0

We've encountered a behaviour with EPiServer Forms which we are wondering if it is by design, a bug and if anyone else encountered it. What happens is that form elements ends up being shown to the end user even if the elements haven't been translated to the site language nor in any applicable fallback language. We encountered it on our own site and could reproduce it in a fresh Alloy-project with the most current version of EpiServer and EpiForms in particular.

EPiServer.Forms version: v4.18.0

How to reproduce:

  1. Go into the edit view in CMS
  2. Select site language (e.g. sv)
  3. Create a new form
  4. Create and add a input text field and a submit button to the form
  5. Switch language (e.g. en)
  6. Make sure that the language doesn't have fallback language set to the previous one
  7. Translate the form container to the current language
  8. Copy form elements from the previous language branch, do not translate these elements.
  9. Publish
  10. Drag form into an applicable content area and publish
  11. View page in secondary langauge (e.g. sv)
  12. Submit

Expected: 

Untranslated elements should not appear, form should be empty in this particular case.

Actual:

Elements appear, with texts from their master language, and if a user submits the form the associated values are not present in "Form Submissions" in edit mode.
In the log a variation of the following line appears for each untranslated element:

ERROR EPiServer.Forms.Core.Internal.DataSubmissionService: Element '120' not found or the Form has not been re-published after was changed.

Regards,
Johan

SaveSelectedCookie?

$
0
0

One of my users had an issue trying to access edit mode in one of our sites. The request failed complaining about Cookies. I looked at the list of cookies for our domain and saw, maby a hundre, cookies named like "uniqName_71_2SaveSelectedCookie" for path /EPiServer/CMS.
I guess that the limit of 50 cookies exceeded. I cleard the cookies and the user was able to access edit mode again.

Does any one have any ide what this cookie does and why there where so many?

Using EPiServer.CSM 10.3.2

Regards


Null reference in Content Area after deleting block

$
0
0

Heyo,

I'm facing a weird thing here. If I have a block created in the assets panel, drag and drop it to a content area then delete it from the assets panel and clean the trash, the content area will have a block without any id or content link that won't be shown. This means that the editors are not able to see and remove it. The only way to remove it is to alter the content area (add or delete a new block).

I tried to create a fresh alloy solution and reproduce the issue but if i delete the block from the assets panel, it is not visible in the trash bin. Also, it is still visible in the content area but uneditable. That's a good thing since the editors are able to remove it.

I manage to reproduce the issue in two different solutions, both of them using older versions of CMS (11.8 and 11.10.1) and having a working trash bin. Is this a known issue? I found another topic started in 2013 with the very same problem but no solution posted there. Was anybody able to fix this?

UPDATE: I granted rights to the WebAdmins to access the recycle bin. After the blocks are deleted from the bin, the issue is reproducible on alloy too.

[CMS 7.5] Deleted content and its references

$
0
0

Colleagues,

 

We have a problem and I would really like to find out how to solve it. To reproduce you should do the following steps:

1. Create some page inside EpiServer

2. Add this page to some Content Area

3. Move that page to the Trash and empty it.

 

In that case the ContentArea will contain the reference to the deleted page and we will have an exception, that says "Content Not Found". The most interesting thing is that the removed blocks are marked with the gray color, and the problem can not be reproduced.

Is that an EpiServer bug or feature? What is the best way to avoid such issues?

Thanks in advance.

BVN Redirect Tables -where are they

$
0
0

So we have BVN setup and working.

I just cannot find the tables that are storing the redirects we setup.

I just want to know where/how it is storing the redirects we setup.

Only table I can find is:

BVN.NotFoundRequests

The language for settings can not be found.

$
0
0

After updateing to Episerver 11 my multi language site is showing an error. If I log in and try to go to the admin mode I get this error

The language for settings can not be found.

System.Configuration.SettingsPropertyNotFoundException

Does anyone has experienced this before?

It works fine if I am not logged into episerver admin mode and also works fine in edit mode. 

Episerver Cms and Content Security Policy Header

$
0
0

This is not as much of a bug, but rather a question of why.
When adding a CSP to my Episerver Site, i can configure everything to work safly and securly on the front end.
But the second one tries to load /episerver/cms everything breaks cause the csp blocks dojo.js attempts to run a eval() function aswell as the inline scripts that is put into edit mode.

My question is this:
Are there any plans to fix this as far as we are aware of? Cause running episerver with a csp that has to include both 'unsafe-inline' and 'unsafe-eval' feels rather bad.

Best Regards
Pål-j

Translating - Multiple or single choice field

$
0
0

Currently on a multi language site we want to use a Multiple or single choice field. However the items are not translatable in a different language. At least the choice how it is displayed in the front-end should be translatable as this might need to differ per language. Is this something that will be built-in in future releases?

Epi Forms: Multiple or single choice field translations

$
0
0

Currently in multiple or single choice fields within Epi Forms it is not possible to translate choice fields in a different language (in my opinion a must have in multi-language websites).  It would be nice if that would be an option to provide at least for the front-end values, the possiblity to translate this.


How would Iinject Client Resources in a common Layout for only those pages that actaully contain an epi Form?

$
0
0

How would I to inject Client Resources in a common Layout for only those pages that actaully contain an epi Form? If I add these to the header and footer, everything works. My concern is that I only want to inject them for pages that contain a form block.

@Html.RequiredClientResources(RenderingTags.Header)

@Html.RequiredClientResources(RenderingTags.Footer)

Need to track "Set Access Rights" activity

$
0
0

Hi,

I want to track activity of the user for "Set Access Rights" section, Is there any way to create a custom logging for the same ?

Kindly let me know if anyone has any usefull info to track the above issue.

Thanks,

Chandrakant H

How to let a contact switch between organisations / login as - feature

$
0
0

Hi,

our client is asking for a feature, in which their employees (admins) have a list of Organizations, which they can switch to (login as).

We have some ideas with setting 1:N relations on CustomerContact, getting the Organizations who the contact has acccess to, but we are unaware about difficulties or problems which may come with this solution.

  • Is there anyone who has done something similar, how did you solve it?
  • Should we use relationships or use Roles instead?

Thanks, 

ChiChing

Thumbnail requests keep going after picking image, slowing down the CMS

$
0
0

When I open an image picker from a Url property in the All Properties editor and navigate to a folder with a lot of images in it, Episerver requests thumbnails for all of these images. However, if I pick an image for the field before the thumbnails are loaded the HTTP requests are not cancelled. Because there are a limited number of concurrent requests, users on a high latency connection sometimes have to wait upwards of a minute to simply select an image. There are close to 100 images in the folder, and while that is not optimal I think the requests should be stopped as soon as the dialog is closed. Is this something we can do, or should I report a bug for this?

Example pagetype that shows this behaviour:

namespace Test {
    [ContentType(DisplayName = "Test", GUID = "d8c26331-55c2-4d37-ab5a-4e0713b1321e", Description = ""]
    public class Test : BlockData
    {
        [UIHint(UIHint.MediaFile)]
        public virtual Url TestImage { get; set; }
    }
}

Fetching Orders data based on Organization ID

$
0
0

Hi All,

Is there any specific method to fetch all the orders data based on organization id.

Can you please let me know if there are any existing methods or api's related to it.

Regards,

Manik

Viewing all 6894 articles
Browse latest View live