I've got an OTRS server running, fully functional. The only problem is that the ticket attachments can only be viewed in the web interface, and not in the emails. I always have to open the ticket in the browser first, before I can view attached images and so on.
In the web interface, everything displays fine.
Does this have to do with the /opt/otrs/bin/otrs.ArticleStorageSwitch.pl FS to DB?
Or is there something else I'm missing?
Thanks in advance,
Ben
There is as SYSconfig function for this
Ticket -> Frontend::Agent::Ticket::ArticleAttachmentModule
There should be two modules.
In the
Framework -> Core::Web::AttachmentDownloadType
You can select what module to use.
This is default set to attachment, but when it is set to inline it doesn't download the attachment but it only shows them inline.
Related
I am trying to register my app for Oauth consent screen, so that I can create a OAuth client ID. I keep getting this validation error at end of the form, even though I have submitted everything correctly.
An error occurred while saving your app
And this error does not state which input in the form is invalid. Also in the network tab of development tools window, everytime I submit the request, I can see a POST request being initiated and it fails with following error.
{"error":{"code":3,"message":"The request failed because one of the field of the resource is invalid.","details":[{"#type":"type.googleapis.com/google.rpc.PreconditionFailure","violations":[{"type":"client_auth_config","subject":"?error_code=9&error_field_name=UpdateBrandWithMaskRequest.brand_id&error_field_value=0"}]}]}}.
Any suggestions on how to fix this is highly appreciated. I have contacted the google support about this issue as well, but as of now they're saying everything works on their end and clear cache and cookies but it doesn't work. I have attached here a capture of consent config wizard I'm using as well.
Put the Project ID in App Name
Try adding your support email to Firebase console. Go to firebase console->settings->General->Support Email->Add Email. Now while creating oAuth consent screen add same email id developer contact information as well as support email. It worked for me.
To expand on the top answer, there are numerous underlying reasons why this step of the app registration would fail. In the case where the application name is not valid (fails any of the checks that Google Cloud Platform enforces), then setting the application name to the project ID is guaranteed to fix the problem, as the project ID will always happen to be a valid application name.
It may be worth digging into the underlying validation error, which can be achieved by inspecting the network request that is sent upon submitting the form. In the "Network" tab of the Developer Tools, select the POST request that is captured after clicking the "SAVE AND CONTINUE" button. The "Response" tab (shown below for my case) should display an error object with a more descriptive message.
In my case, it seems that the application name was deemed abusive:
The request has been classified as abusive and was not allowed to proceed.
which I suspect is because it contains the word "Google".
What #Kalind said helped me to resolve the problem.
So login to firebase console, chose the project you are trying to create an OAuth Consent too. And then click settings-> General-> Support Email-> Add Email from dropdown.
Now when I go back to google cloud console under the Oauth consent screen, I can see that I have one registered to that project.
I had the same problem, indeed your App name must be identical to your Project ID that you chose when creating the project
I got the exact same error, probably an issue on their end :/
Thanks for reporting this everyone. I've also had the same problem for different apps and #Kalind suggestion fixes the problem. On Firebase project's settings there's a new field now called "Support email" where you can select your support email address. This will fix your issue like #Kalind and #Kasper said. I'm just adding a screenshot to make it more clear for those with the same problem.
Thanks!
For me there was an email in there already (owner of account email).
I had to invite another email > accept invite > change email > save > then change back > then I could proceed with the OAuth Consent Screen.
To change the support email on the Firebase Console you go to:
https://console.firebase.google.com/ > select Cog > Project Settings > General tab > Support Email
I reached this page is because of testing Google Login.
I faced this issue creating "OAuth consent screen".
But I didn't need this to create.
Just go to "Domain verification" page and "Add Domain".
There you may need to add 'txt record' in DNS Setting to prove you owned the domain.
After adding domain, go to "Credentials" page.
It is ready to choose the "Application type" like google guide
!!! pls enjoy !!!
I used the app Id as my App Name in the OAuth consent screen setup page.
If you are trying to use group email from gsuite in App consent/Firebase support, you must be the group owner, and do not need that group email address on any IAM role.
I believe the name of the application requesting access simply needs to be different from the name of the Google project.
This Error was come due to the project name is the same as the app name. So your app name and project name must be differnet
to expand on the helpful post of #zr0gravity7
I checked the 'response' in the developer con{"error":
{"code":3,"message":"com.google.apps.framework.request.BadRequestException:
At least one field must be updated."}}
I simply changed one field, and the save now succeeded.
(This is a very disappointing design of the form error checking)
The app name must be unique across Google. Modify the app name a bit.
Getting below error while browsing CD site (Web DB) in sitecore.while browsing CMS site it's works fine.What could be the issue .We have restored the web db from master still facing same issue.
Error :
The layout for the requested document was not found
Most likely causes:
The resource you are looking for (or one of its dependencies) may have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
What you can try:
Go back to the previous page
Go to the start page
Additional Information:
Requested URL: /mysite/res/book
Requested Layout: {62A89386-861F-5210-9568-H8CADA118FFB}
Requested Device: Default
If the page you are trying to display exists, please check that an appropriate prefix has been added to the IgnoreUrlPrefixes setting in the web.config.
If the url works on your CM box and doesn't work on CD box, it looks like something is not published.
Try:
Login to your CM server and publish the whole site again with Republish everything option selected.
If 1. doesn't help, login to Sitecore Desktop, switch to the web database, navigate in Content Editor to the item you want to see. Check if the item is there and if presentation details are correct.
If item is NOT in web or layout is not in web database, switch back to master database and check if publishing restrictions are applied or if the item is in the final state of a workflow.
If the item and layouts are in the web database but the url still doesn't work, check your sites configuration in /sitecore/admin/showconfig.aspx whether your site is not restricted to some host names.
Trying to get started with using ECM 1.3 on a site we have been using CMS 6.5 for about a year now. When building an HTML email to send out, I code the images just as I always have with our old mass email tool to point to published images on our SiteCore CD server (and I've tried including images through SiteCore ECM's own WYSIWYG editor), but when I send the email (either though test or dispatch to a test target audience) the jpeg images come through as attachments. I've read through the ECM documentation, done an incremental site publish before dispatching the message, searched here and the web at large to no avail. Anyone else come across this? Is it a problem with my Target Audience setup or is this just how ECM thinks emails should be sent?
THANKS!
Looks like you have tried most of the stuff, but can you please check:
Base URL - http://localhost/ - The website address used for links in messages and for images, if they are hosted on the website.
Embed Images is True - Whether images are embedded in the message or links to images are inserted.
Hope this answer is of some help.
I've created ECM NewsLetter with some links to site (another Items). In online version of NewsLetter links works fine, but when I've sent this NewsLetter to my email and tried to click on links from my mail Inbox it's displays 404 not found error. Base URL - The default address for all links configured properly. What am I missing? Maybe some configuration? I appreciate any help you can provide.
Several things to check here:
Most likely source is that the campaign item that gets created when the email is sent is not published.
If the campaign is published then check the goal that gets installed as part of the ECM module is published: /sitecore/system/Marketing Center/Goals/Click Email Link
The way to test the source of the problem is to search for the guids in the link querystring - the ec_camp part of the querystringis the guid of the campaign. Search for this in your content delivery web databse - if this exists then check the goal mentioned above. The ec_as value is the value used to identify the user in the analytics db. This wont exist in your sitecore tree.
finally if both of the above work then follow this set up guide and ensure all the relevant ECM pages are installed properly on your CD servers - including the connection string to the ECM service that handles all tracking and link processing: http://www.sitecore.net/learn/blogs/technical-blogs/sitecore-magnified/posts/2013/09/ecm-on-cd.aspx
If you view source are they absolute links? If not one thing we did was create a newsletter device and detect we were coming from ecm. Then we could specify an alternative layout/sublayouts/data sources based on device.
The sublayouts could check if they were coming from a newsletter device and ensure they return all links absolute.
Within the ECM you need to make sure that you are saving and publishing as you move throughout the process of setting up and deploying a message. Once the message is edited, save and publish the message. Before dispatching, you should smart publish the target audience which in turn will re-publish the message. Then, when you dispatch you should see all the images.
This seems to be an issue with the configuration of Email Campaign Manager. Follow these steps
Go to Email Campaign Manager.
Select Content tab.
Check the value of Base URL- default address for all links field.
If it is set to some website URL other than your website URL change it to your website URL.
I use Liferay 6.1.1-ce-ga2 bundled with Tomcat server and Oracle 10g database.
My goal is to insert some content, as Journal Article, and display them in an Asset Publisher (with a structure and template, already working).
I used JournalArticleServiceSoap.addArticle(...) with the right fields (groupid, structureid, templateid, ...). The contents are "correctly" inserted in the database and I can see them inside web contents from administrator content panel. The contents have also "Approved" as status. This is done by setting:
serviceContext.setWorkflowAction(WorkflowConstants.ACTION_PUBLISH)
However, I can't see the inserted contents displayed with the other contents in the Asset Publisher, until I open it again for edition and click on publish button (even without changing nothing). Then the content is published as expected. The problem is the number of contents. It is about 600 so I can't to this action for each one.
I do not understand what is the matter and how to figure it out? In other words, what do I have to do to make the web-content inserted by web service display automatically in Asset Publisher?
Or, what does the "Publish" do exactly so I can try to reproduce programmatically with SOAP service (or SQL after insertion)?
Thank you in advance for your help.
I've also posted the same question in Liferay' forum: Problem to display JournalArticle inserted by SOAP web service
you can try to log the database accessing from Liferay and see what will be changed after you save article manualy. Herefor set the logging level of hibernate to info or debug.
are you setting serviceContext like this?
ServiceContext serviceContext = new ServiceContext();
serviceContext.setAddGuestPermissions(true);
serviceContext.setAddGroupPermissions(true);
serviceContext.setScopeGroupId(groupId);
serviceContext.setWorkflowAction(WorkflowConstants.ACTION_PUBLISH);
You must setting serviceContext Like This:
ServiceContext serviceContext = new ServiceContext();
//serviceContext.setAddGuestPermissions(true);
//serviceContext.setAddGroupPermissions(true);
serviceContext.setScopeGroupId(groupId);
serviceContext.setWorkflowAction(1);
serviceContext.setIndexingEnabled(true);
serviceContext.setIndexingEnabled(true); is Very Important.
The following code is not must requeired.
serviceContext.setAddGuestPermissions(true);
serviceContext.setAddGroupPermissions(true);