SharePoint Calculated Field Remove text from string - sharepoint

My 'Title' field returns the following results:
ie: Gold.png
I want to remove '.png' and just leave the word 'Gold'
Here's my calculated field but it's throwing out an error message.
=IF(ISERR(SEARCH(".png",Title,1)),[Title],REPLACE([Title],SEARCH("&",[Title],1),1,""))
Any help is appreciated. Thanks

=REPLACE([Title],SEARCH(".png",[Title]),"4","")

Related

Power Automate: Write empty date field to SharePoint

I created a PowerAutomate flow that reads data from an excel file and writes to a SharePoint List. When it tries to write a date field that is empty, I get the error message below
OpenApiOperationParameterTypeConversionFailed. The 'inputs.parameters' of workflow operation 'Create_item' of type 'OpenApiConnection' is not valid. Error details: Input parameter 'item/field_9' is required to be of type 'String/date'. The runtime value '""' to be converted doesn't have the expected format 'String/date'.
Any thoughts on how to resolve this issue?
And also any thoughts on how to obtain the column ID would be highly appreciated
Add a condition to check if the date column is empty, if true, keep the date column blank too in SharePoint list, else, add the date as shown below:
addDays('1899-12-30',int(items('Apply_to_each')?['Date']),'yyyy-MM-dd')

Acumatica Report Designer Concat variable shows incomplete field

Strange issue- In a Concat() formula within Acumatica Report Designer, I have a string series. It's only showing incomplete data from the field though.
Example, the Concat() formula is this:
Concat([ARInvoice.CustomerLocationID], '-M-' , [ARInvoice.RefNbr] )
(So, trying to concatenate the Location with '-M-', followed by the full Invoice Reference number.)
I'm expecting to see this value: FACILITY02-M-AR006530
Instead, Report Designer returns this value: FACILITY02-M-AR
I confirmed this isn't a field-size issue or a text alignment issue. It seems like Acumatica is just not returning the full value for Invoice Reference number.
Ideas?
I see the same strange behavior, but I found a solution.
In your expression, wrap the expression with CStr
CStr(Concat([ARInvoice.CustomerLocationID], '-M-' , [ARInvoice.RefNbr]))

Replaceitemvalue & date field & lotusscript

I am using following code to create a new notes datetime item on the document.
Call doc.replaceitemvalue("dttimefield", format(cdat("11/11/2011"),"d/mm/yyyy"));
It does the work but when I open the document and see the documemnt properties it shows me as text list and having value as "11/11/2011"
Please help me what is wrong here. I want that as date time field not text list.
Thanks
You need to create a NotesDateTime variable with the expected date and then use that variable as input to the replaceItemValue method.
Is it error with ";" or it's Java?
I try with your code and it's get a date/time type.

Kentico - Using value of added field (page type)

I need some help adding a field to a page type. I added it via "New Field". I set the field name to "ModalDataTarget".
I inserted it in the page type transformation as {% ModalDataTarget %}.
I put the value in the text field.
It isn't populating with the value I add.
Thanks in advance for any help!
Which Web Part are you using? I would verify the column is returned in the query that is being run for it.
Which transformation type are you using? ASCX? If so, you need to use <%#%> Format.
You are calling macro method in transformation . You need to use transformation methods instead:
try <%#Eval<string>("modaldatatarget")%>

DbLookup Keywords

is there a list available with the possible keywords for the keyword parameter in the #DbLookup statement?
is there also an explanation available for those keywords?
Thanks
Mario
Look for the help topic for #DbLookup in the Lotus Domino Designer Help database which is part of your Notes client installation (and part of the Domino server installation). The following is taken from that documentation about the Keyword parameter:
Keyword. Optional. Keywords can be concatenated.
[FAILSILENT] returns "" (null string) instead of an error if the key cannot be found.
[PARTIALMATCH] returns a match if the key matches the beginning characters of the column value.
[RETURNDOCUMENTUNIQUEID] returns the UNID of the document instead of a field or column value.
You can also find the documentation online at the Information Center:
http://publib.boulder.ibm.com/infocenter/domhelp/v8r0/topic/com.ibm.designer.domino.main.doc/H_DBLOOKUP_NOTES_DATABASES.html

Resources