I have to add a field to the company preferences of an instance, from my understanding I have to do this with a bundle. I have no idea of what record type to target or how to add a field to it. Any help would be greatly appreciated. Thanks in advance for your assistance.
To add field with company preference, you need to create a script parameter in any of the scripts that are included in the said bundle and not on any record. Here is example for the same. This script-paramter will be available under setup>company>general preferences and can hold any values that you want.
Related
I would like to modify the Field Help of NetSuite's Standard / Native field. How to do?
Thanks for reading this question.
Any type of related information will definitely help me to move a step ahead towards solution.
I have tried without success UserEvent Script on BeforeLoad event this (SS2.0):
scriptContext.form.getField('tranid').setHelpText({help:'Test'});
The example above is working only with fields created by scriptContext.form.addField.
There is no way to do it with ClientScript (no access to setHelpText method there).
And of course, there is no customization tool.
The only way is to use DOM, which is not recomended by Netsuite, and for sure is not a good practice.
My shop is built with Prestashop 1.5.6.
In Control panel > Orders > Orders :
I can select an order and amend a few things related to this order (such as adding or deleting one product).
But, there is no way of editing the order Reference.
How would it be possible to edit one order Reference ?
I found modules which are able to modify the rule used to create the order Reference.
But my goal is not to modify such rule.
I would like to have the possibility of changing the order reference just for some orders, one by one.
I thank you in advance for any suggestion.
Patrick
The order reference is a significant and unique token of an order. When the order was composed and saved it can't be changed. Customer gets an email with this order reference. But if you insist on changing it - you need to get a developer help to code a custom Prestashop module for your needs or manually interfere a database (not recommended).
You can't do it from backoffice without custom development. If you want to manually edit in database, reference is stored at table
PS_PREFIX_orders
I've created an instance of Azure Search and I'm trying to make use of the suggesters functionality but struggling to find any useful information on how to get started (poor and out of date documentation from Microsoft).
I would like to use a suggestion on the name field below.
The issue is that fields require unique names and I'm unable to edit existing fields. I'm a little unsure of how the suggester tab differs from basic.
Does anyone have any advice on how best to add suggesters to my index? I am all for deleting the index and starting again if I've missed something critical.
I'm really sorry you're disappointed by the documentation. We take it very seriously and will make sure to address your feedback. Feel free to make suggestions.
On the screen you provided, you should specify a name for the suggester. Once you do that, checkboxes will show up next to your field names. Using the check boxes you will enable the Suggestions API on selected fields.
Use the name of the suggester as a value for the suggesterName parameter when using the Suggestions API : https://msdn.microsoft.com/en-us/library/azure/dn798936.aspx
Please find more details in this article about suggestions in Azure Search. It describes a sample application with code attached.
Hope that helps.
I need to delete/modify some fields shown in the full view of a node. This is when you go to "drupalsite/node/XXX".
(They only will be shown depending of the value of another field of the same node).
I have used nodeapi > view but I am not able to make it work. What am I missing? How should I do it?
Thanks in advance :)
You can use function template_preprocess_node(&$variables) in {your_theme}/template.php
I have a view control and at least one column has the option "Display as link" set. The link is generated manually. What I want to achieve is to add a url parameter which is added to a view column link. The usual link would like this
"http://host/path/file.nsf/$$OpenDominoDocument.xsp?databaseName=server!!path/file.nsf&documentId=03871DD0B47F88D4C12576AB00623137&action=editDocument"
What I would like to have is:
"http://host/path/file.nsf/$$OpenDominoDocument.xsp?databaseName=server!!path/file.nsf&documentId=03871DD0B47F88D4C12576AB00623137&action=editDocument?param1=value1¶m2=value2&etc..."
There must be a (presumably easy) way to achieve this - unfortunately I don't know how...
Any help or hint is appreciated.
Many thanks in advance.
Michael
Follow the below steps:
1. go to All Properties of view Column which displays column values as link.
2. Compute the PageUrl with the below Code.
var col:com.ibm.xsp.component.xp.XspViewColumn = getComponent("viewColumn1");
col.getDocumentUrl()+"¶m1=value1"