Hyperlink add in OTRS Ticket? - mysql

I need a hyperlink in OTRS Ticket.
How can i add a hyperlink for a particular ticket in its right pane under ticket information of OTRS.
This is needed to link with other system.

You can add the link by modifying the template in Kernel/Output/HTML/Templates/Standard/AgentTicketZoom/TicketInformation.tt
But please read the documentation on creating your own 'themes' for how to modify them while keeping your system upgradeable:
http://otrs.github.io/doc/manual/admin/stable/en/html/themes.html
Also, if the link is using data in a Dynamic Field you can do it in the Dynamic Field configuration and you don't need to modify the template at all, see the "Show link" option here:
http://otrs.github.io/doc/manual/admin/stable/en/html/dynamicfields.html#dynamicfields-configuration-text
And if all the tickets you want the link to appear in have customer records, you can also use this config option and modify it: http://otrs.github.io/doc/manual/admin/stable/en/html/ConfigReference_Framework.html#ConfigReference_Framework:Frontend::Customer:Frontend::CustomerUser::Item_2-Google

Related

MS Access: Allow user to update data from form, but not from table

I want to allow user to update data from form, but not from direct table. I added Before Change event on table, and raising error if the user group is 'basic'. This is working as expected if I enter data in table. But, it is also raising error even if saving data from form. Can anyone help me to resolve this issue?
Thanks in advance!
In general the way to deal with permissions in Access is to only ever show your users the forms; they should never directly interact with a table or query. So instead of adding Before Change code to your table, you instead want to hide the table.
The things you need are in the Current Database section of the Access options. For this example I'll assume you just have the one form, but the same applies if you have many forms and a "Home" form.
Use the "Display Form" dropdown to select the form you want the user to see when they open the application.
Un-check "Use Access Special Keys" to prevent keyboard shortcuts showing objects you don't want shown.
Un-check "Display Navigation Pane" to hide the object list.
Un-check "Allow Full Menus" to prevent users from creating new objects (or use other database development functions)
With this done, the user will see only the form interface you selected and the basic data entry toolbar.
Note that when you want to make changes to the file as a developer you must hold down Shift when opening the application, which will display the navigation pane etc. Of course, any user who knows about the Shift override could do the same. Which is why distributing in a compiled accde, which cannot be unlocked, is a good idea. But you need to set up the application using the above options before that matters.

How can i add custom fields to moodle course like user

How can i add custom fields to course detail? just like user. Is there any plugin to do? I tried moodle-course_meta.And i can add additional fields to course,but when i try to use in upload course with and without adding profile_field_ as prefix,It doesn't take the value from the csv file.
Eg. i created custom field for a course using the plugin and call it note
And upload csv file which has field name note and also tried like what we do on user profile_field_note. On both no luck. but the rest course fields such as shortname,fullname... are imported properly.
I am on moodle version 2.8.3
There is no easy way to do it at the moment.
Some options are listed on tracker issue https://tracker.moodle.org/browse/MDL-34634
They include writing your own course format plugin or using the contributed local/admintool plugin, there are several links on this issue. The second option may be not properly compatible with backup/restore.

Change pathway on Microsoft Access 2010

I was just given the task of taking over some old queries from another colleague that left the department a few months ago. Some of the reports are linked to his personal documents. Can I change the path from the requested document into my files?
Yes you can but you'll have to find out the actual link to the Excel files. They'll be in the Table section of
In your example, the query is FROM ASRSVelocity, which is a different query in your project. You'll have to check that query and see if it relates to a link - it may be another query.
The links are in the Tables section of Access and have a special icon like the one in the pic (Results). Click on them to open to see if you get an error. If you do, it will tell you the name of the file. Rename the link (so you have the old one to reference) and create a new link with the old name that's linked to the new file.

Add A Background

I was wondering if there was any way of changing the background in access. The standard grey is ok but I would like to change it to an image that shows instructions or what was updated last. Also, if I can allow a user to change the background to an image of their choice that would be cool as well.
Can this be done
To be honest, I'm not sure if this is possible or not, but if it is, I'd advise you not to do it. Why?
Users will expect instructions under a help menu or on an intro
splash form
They will expect info. like what was updated last to appear in more
conventional places like the status bar
Allowing users to personalise your application with their photos can
make your application look pretty bad and increase load times.
Only advice though - good luck with it!
I have been able to allow users to change the background of the database. It works great and it works no matter what computer they log onto the database from. I did have a problem with remote users so I added a macro that allows them to disable the functionality. It works great. It was a little complicated to se up initially. Some of the modules below may have more stuff contained in them then what is needed for the purpose of this question. But here is what I did to make it work:
Add the Following modules to your database: modChangeMDI, SetBackgroundImage, and clsCommonDialog
Link to a zip file containing the code for the above modules: http://www.filedropper.com/changebackgroundimage
You can set the default location that a users sees when the search for file dialog pops up. This is located in the ThisFileToOpen function of the SetBackgroundImage module.
clsCommonDialog <-- Used to open the find file dialog box
modChangeMDI <--Used to change the background image
Create a table called $BackgroundLocation with the following fields. On my database this is contained in the backend database.
ID (AutoNumber, Primary Key)
UserID (Text, Required, 250 in length, don't allow zero lengths)
BackgroundLocation (Text, 255 in length, not required)
DisableBackground (boolean)
Create an AutoExec macro and add an action that runs the code SetTheBackgroundPictureOnStartup (1)
Create a BackgroundDisableEnable macro and add an action that runs the code DisableEnableBackground()
Create a BackgroundSet macro and add an action that runs the code SetTheBackgroundPictureOnStartup(2)
Then assign the BackgroundDisableEnable and the BackgroundSet macro to their own menu item.
When the database opens it will run the AutoExec by default.
You can use a start-up form as I suggested above. You can even base the start-up form on a comments table that can be edited by the users and will display the most recent and / or relevant information. The form can be displayed at start-up and then referred to at any time by the users.
In the past, I have included a ? button on forms that open such a form at the relevant page.

Flex - display welcome screen on first launch with checkbox for never show again

I need to display a "What's new in version x.x" Dialog with a checkbox to allow users to not show the dialog on future launches. Can anyone help me by telling me what I need to look up in the api, or possibly an example?
You can create a file in File.applicationStorageDirectory where you store whether the user checked the checkbox or not.
Every time you run the app, you check if the file exists. If it does not exist, then create it.
Read the value in the file and according to it display the message or not
When the dialog is dismissed, check the value of the checkbox and update the file.
You can even use that file to store other preferences of your application like in this example.