Google Docs - Script to Upload a List of Substitutions / Replace With - google-docs

Google Docs has a pre-defined list of Substitutions/Replacements (under Tools -> Preferences -> Substitutions). It allows you to add custom words one by one.
Is there a way (script) to bulk upload/add a list of custom substitutions/replacements?

Related

Netsuite Advanced PDF - Retrieve Custom Preferences

Is there a method in NetSuite's Advanced PDFs to access Custom Preferences?
I am creating a bundle of Advanced PDFs to deploy to customer's, and I'd like to be able to Store "Logo Dimensions" in the custom preferences so the customer can change the form logo, and set the width/height of the logo without needing to edit the Advanced PDF itself.
Create a beforeLoad user event script. Give it the parameters you want to manage.
Check that the event type is ‘print’. Set a hidden custom field on the record with the parameter value. Use that value on your PDF template

Does Drupal provides interchanged/partial word search facility?

Does Drupal provides interchanged/partial word search for example: If i'm searching for "search term" should also return search result says that "term search".
Actually there's a quick way to set this up with the Search API and the Search API Database Search modules. No need for Solr.
Enable both the modules and go to the Search API configuration page
(admin/config/search/search_api)
Add a server and give it a recognizable name (such as "MySQL"), make sure it's enabled
Choose the following service class: Database service (normally the only option. If you don't see it, make sure that the "Search API Database Search" module is enabled).
Selecting this service class will provide you the option Search on parts of a word (make sure you enable it). Now hit "Create server". Next, go back to the Search API configuration page, and add an index. Again give it a recognizable name, such as "Contentindex", and make sure it's enabled.
Select the server you recently created (in this example "MySQL"). Datasource options: check the content types you want to index (the description of this field may be a bit confusing, but make no mistake: you should check the content types you want to index, not the ones you want to leave out).
You could check "Index items immediately", but that depends on the size of your content. This option is alright for smaller websites. In the other case: let cron take care of it. Hit "Create index".
Next, you want to enable the fields (in the fields tab) to that very index, e.g.: contant type, title, status and author - and hit "Save changes" (we'll take care of the related fields later).
Then you want to configure the filters (in the filter tab). Here you can enable the bundle filter, if you want to finetune the content types once again (probably won't need to).
Down below you'll find the highlight filter, to highlight the search word in the results.
Now return to the fields tab and unfold the "Add related fields" tab. Add all the fields of which you want to get the content indexed, and hit Save Finally go to the "view" tab of the index, and index now all the items.
The last step is to create search results page and search block in Views, which only takes a few minutes.
Make sure the submodule Search Views is enabled and create a view page which will show "Contentindex" (select the name you gave to your index configuration instead of "content" which is selected by default.
Add all the fields (make sure your format is "fields") that every search result should consist of (title [link to content], body, …).
You'll notice that these fields look like this Indexed Node: Title
Add an exposed filter: Search: Fulltext search; and select the following in its settings: Contains any of these words, and use as: Search keys.
You're done!
There's an excellent video tutorial on this partial search method without Solr, which also incorporates faceted search (which is not necessary for partial search, but in case you're interested…). If you're only looking for a partial search option, you can watch the video until 5:08 and after that skip to 6:45.
Reference:
https://www.drupal.org/node/84631

Edit Dynamic Values in Workflows

I am trying to retrieve and extract specific data from incoming emails in Microsoft Dynamics CRM to use them in workflows (for update records).
The only option i can find so far while working with workflows is to get the full subject or the full body of the email.
Is there a way to extract specific part of these two?
For example, how can i extract from the Subject the first 10 characters or how can i search the Subject or Body for specific characters or filter with REGEX?
I don't want to create a custom plugin, but the use of JavaScript would be great if it can be used to automatically get triggered without any user action.
Unfortunately, OOB workflow functionality does not allow you to manipulate the data within these fields. Javascript (in the context of CRM) is a client side scripting tool, so could not be run without user interaction.
I would suggest creating a Custom Workflow Activity that takes the subject and body values as parameters (from your original workflow). Then within the custom workflow you can perform string manipulation using common C# commands, and then return these values to the original workflow or update/create records within your custom workdflow.
The following URL gives a good example of creating a Custom Workflow Activity.
https://msdn.microsoft.com/en-gb/library/gg334455.aspx

Sharepoint 2010 - Specify default settings and columns for new document libraries

How do you specify a template for new document libraries, in which new libraries are created with some preset settings like reviosioning enabled and some default columns are included in the default view like Version and CheckIn.
I am looking at doing this at site collection level.
There are two basic options:
Through the browser, you can customize a Document Library the way you want it and then save it as a custom list template by selecting Settings > Document Library Settings > Save document library as template.
In Visual Studio, you can create a feature that includes a custom list definition. For more information, see How to: Create a Custom List Definition. To enable versions, set the VersioningEnabled and possibly the EnableMinorVersions attributes on the List element.
You can create your own ListDefinition via Visual Studio.
List definition would include all possible content types for list, columns, views.
Also you can provision your own site columns if needed.
Then configure your feature for site collection level and use it =)
In order to makethis process easier try creating ListDefinition for Content Type and select a content type. (in your case i suppose it would be Document)

Document Library Crawl

I set up a new scope and passed in the URL for a specific document libary that I created that hold 2 word documents.
For some reason when I start a full crawl, it does not see the 2 word documents.
The word documents have meta data and I've created Managed Properties that map the crawled properties.
I am trying to utilize the Advanced Search webpart to be able to search from this scope. When I enter a search term such as the filename of the word document, no results are returned.
Any ideas?
You need to enable the document library to be searchable. Enable it through the document libraries properties.
Edit
See Harnessing Properties in SharePoint Search
To get to the Document Library Advanced Settings page, from within a given library, select the Document Library Settings menu item from the Settings dropdown, and then select the Advanced settings hyperlink under the General Settings header. Somewhere in there, you should see something like the following image. Make sure that the radio button is set to Yes. Source
(source: bamboosolutions.com)
What account is the crawler running as? Maybe that account doesn't have read permission on the list, so it can't index it.
Can you find information from the same documents in other document libraries, when using the default search scope?
Can you find information from this document library using the default search scope?
Are you trying to create a custom search results page, or just scope?
One thing to try is to check the search crawl log to see if there were any errors when it was searching the library.

Resources